(slug: string)
| 170 | /** Create the no-auth connection through the gateway core tool — the same |
| 171 | * programmatic wire-up an agent performs. */ |
| 172 | const createConnectionCode = (slug: string) => ` |
| 173 | const created = await tools.executor.coreTools.connections.create({ |
| 174 | owner: "org", |
| 175 | name: "public", |
| 176 | integration: ${JSON.stringify(slug)}, |
| 177 | template: "none", |
| 178 | }); |
| 179 | return JSON.stringify(created.ok ? { ok: true } : { ok: false, error: created.error }); |
| 180 | `; |
| 181 | |
| 182 | scenario( |
| 183 | "Tool calls · a live tool answers, and every misaddressed call fails with tool_not_found, never an internal error", |
no outgoing calls
no test coverage detected