(entry: StaticTools)
| 1822 | }); |
| 1823 | |
| 1824 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1825 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 1826 | owner: staticToolOwner(), |
| 1827 | integration: IntegrationSlug.make(entry.integration.id), |
| 1828 | connection: staticToolConnection(entry.integration), |
| 1829 | name: ToolName.make(entry.tool.name), |
| 1830 | pluginId: entry.pluginId, |
| 1831 | description: entry.tool.description, |
| 1832 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1833 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1834 | annotations: entry.tool.annotations, |
| 1835 | static: true, |
| 1836 | }); |
| 1837 | |
| 1838 | /** How long a credential provider gets to answer one call. |
| 1839 | * |
no test coverage detected