(name: string)
| 20 | } |
| 21 | |
| 22 | getToolByName(name: string) { |
| 23 | const tool = this.#tools[name]; |
| 24 | if (!tool) |
| 25 | throw new Error(`There is no Tool named "${name}".`); |
| 26 | return tool; |
| 27 | } |
| 28 | |
| 29 | getToolSelections(): Selection[] { |
| 30 | return Object.values(this.#tools).map(tool => ({name: tool.displayName, value: tool.name})); |
no outgoing calls
no test coverage detected