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