(entry: StaticTools)
| 1705 | }); |
| 1706 | |
| 1707 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1708 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 1709 | owner: staticToolOwner(), |
| 1710 | integration: IntegrationSlug.make(entry.integration.id), |
| 1711 | connection: staticToolConnection(entry.integration), |
| 1712 | name: ToolName.make(entry.tool.name), |
| 1713 | pluginId: entry.pluginId, |
| 1714 | description: entry.tool.description, |
| 1715 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1716 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1717 | annotations: entry.tool.annotations, |
| 1718 | static: true, |
| 1719 | }); |
| 1720 | |
| 1721 | /** How long a credential provider gets to answer one call. |
| 1722 | * |
no test coverage detected