(entry: StaticTools)
| 1646 | }); |
| 1647 | |
| 1648 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1649 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 1650 | owner: staticToolOwner(), |
| 1651 | integration: IntegrationSlug.make(entry.integration.id), |
| 1652 | connection: staticToolConnection(entry.integration), |
| 1653 | name: ToolName.make(entry.tool.name), |
| 1654 | pluginId: entry.pluginId, |
| 1655 | description: entry.tool.description, |
| 1656 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1657 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1658 | annotations: entry.tool.annotations, |
| 1659 | static: true, |
| 1660 | }); |
| 1661 | |
| 1662 | const registerCredentialProvider = ( |
| 1663 | provider: CredentialProvider, |
no test coverage detected