(entry: StaticTools)
| 1384 | }); |
| 1385 | |
| 1386 | const staticToolToTool = (entry: StaticTools): Tool => ({ |
| 1387 | address: ToolAddress.make(`${entry.source.id}.${entry.tool.name}`), |
| 1388 | owner: staticToolOwner(), |
| 1389 | integration: IntegrationSlug.make(entry.source.id), |
| 1390 | connection: staticToolConnection(entry.source), |
| 1391 | name: ToolName.make(entry.tool.name), |
| 1392 | pluginId: entry.pluginId, |
| 1393 | description: entry.tool.description, |
| 1394 | inputSchema: staticToolSchemaRoot(entry.tool.inputSchema, "input"), |
| 1395 | outputSchema: staticToolSchemaRoot(entry.tool.outputSchema, "output"), |
| 1396 | annotations: entry.tool.annotations, |
| 1397 | static: true, |
| 1398 | }); |
| 1399 | |
| 1400 | const registerCredentialProvider = ( |
| 1401 | provider: CredentialProvider, |
no test coverage detected