(slug: string, connection: string)
| 152 | // Sandbox code for the agent path: one addressed MCP tool call, with the |
| 153 | // ToolResult envelope returned as a value (tool failures are values here). |
| 154 | const callGetMeCode = (slug: string, connection: string) => ` |
| 155 | const result = await tools.${slug}.org.${connection}.get_me({}); |
| 156 | return { ok: result.ok, payload: result.ok ? result.data : result.error }; |
| 157 | `; |
| 158 | |
| 159 | type SandboxToolOutcome = { |
| 160 | readonly ok: boolean; |
no outgoing calls
no test coverage detected