(entry: StaticTools)
| 1951 | }); |
| 1952 | |
| 1953 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1954 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 1955 | owner: staticToolOwner(), |
| 1956 | integration: IntegrationSlug.make(entry.integration.id), |
| 1957 | connection: staticToolConnection(entry.integration), |
| 1958 | name: ToolName.make(entry.tool.name), |
| 1959 | pluginId: entry.pluginId, |
| 1960 | description: entry.tool.description, |
| 1961 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1962 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1963 | annotations: entry.tool.annotations, |
| 1964 | static: true, |
| 1965 | }); |
| 1966 | |
| 1967 | /** How long a credential provider gets to answer one call. |
| 1968 | * |
no test coverage detected