(tools: readonly Tool[], name: string)
| 82 | ); |
| 83 | |
| 84 | const findTool = (tools: readonly Tool[], name: string): Tool => |
| 85 | tools.find((t) => String(t.name) === name)!; |
| 86 | |
| 87 | // --------------------------------------------------------------------------- |
| 88 | // Tests — everything goes through executor.execute() |