(t: Tool)
| 7 | import { capture } from "@executor-js/api"; |
| 8 | |
| 9 | const toMetadata = (t: Tool) => ({ |
| 10 | address: t.address, |
| 11 | owner: t.owner, |
| 12 | integration: t.integration, |
| 13 | connection: t.connection, |
| 14 | name: t.name, |
| 15 | pluginId: t.pluginId, |
| 16 | description: t.description, |
| 17 | mayElicit: t.annotations?.mayElicit, |
| 18 | requiresApproval: t.annotations?.requiresApproval, |
| 19 | approvalDescription: t.annotations?.approvalDescription, |
| 20 | static: t.static, |
| 21 | }); |
| 22 | |
| 23 | export const ToolsHandlers = HttpApiBuilder.group(ExecutorApi, "tools", (handlers) => |
| 24 | handlers |
nothing calls this directly
no outgoing calls
no test coverage detected