(entry: StaticTools)
| 1406 | }); |
| 1407 | |
| 1408 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1409 | address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`), |
| 1410 | owner: staticToolOwner(), |
| 1411 | integration: IntegrationSlug.make(entry.integration.id), |
| 1412 | connection: staticToolConnection(entry.integration), |
| 1413 | name: ToolName.make(entry.tool.name), |
| 1414 | pluginId: entry.pluginId, |
| 1415 | description: entry.tool.description, |
| 1416 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1417 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1418 | annotations: entry.tool.annotations, |
| 1419 | static: true, |
| 1420 | }); |
| 1421 | |
| 1422 | const registerCredentialProvider = ( |
| 1423 | provider: CredentialProvider, |
no test coverage detected