(entry: StaticTools)
| 2071 | }); |
| 2072 | |
| 2073 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 2074 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 2075 | owner: staticToolOwner(), |
| 2076 | integration: IntegrationSlug.make(entry.integration.id), |
| 2077 | connection: staticToolConnection(entry.integration), |
| 2078 | name: ToolName.make(entry.tool.name), |
| 2079 | pluginId: entry.pluginId, |
| 2080 | description: entry.tool.description, |
| 2081 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 2082 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 2083 | annotations: entry.tool.annotations, |
| 2084 | static: true, |
| 2085 | }); |
| 2086 | |
| 2087 | /** How long a credential provider gets to answer one call. |
| 2088 | * |
no test coverage detected