(entry: StaticTools)
| 2036 | }); |
| 2037 | |
| 2038 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 2039 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 2040 | owner: staticToolOwner(), |
| 2041 | integration: IntegrationSlug.make(entry.integration.id), |
| 2042 | connection: staticToolConnection(entry.integration), |
| 2043 | name: ToolName.make(entry.tool.name), |
| 2044 | pluginId: entry.pluginId, |
| 2045 | description: entry.tool.description, |
| 2046 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 2047 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 2048 | annotations: entry.tool.annotations, |
| 2049 | static: true, |
| 2050 | }); |
| 2051 | |
| 2052 | /** How long a credential provider gets to answer one call. |
| 2053 | * |
no test coverage detected