(entry: StaticTools)
| 1660 | }); |
| 1661 | |
| 1662 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1663 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 1664 | owner: staticToolOwner(), |
| 1665 | integration: IntegrationSlug.make(entry.integration.id), |
| 1666 | connection: staticToolConnection(entry.integration), |
| 1667 | name: ToolName.make(entry.tool.name), |
| 1668 | pluginId: entry.pluginId, |
| 1669 | description: entry.tool.description, |
| 1670 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1671 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1672 | annotations: entry.tool.annotations, |
| 1673 | static: true, |
| 1674 | }); |
| 1675 | |
| 1676 | const registerCredentialProvider = ( |
| 1677 | provider: CredentialProvider, |
no test coverage detected