(tool: AnyTool, call: ToolCall, context: Context)
| 148 | export const permission = (tool: AnyTool, name: string) => runtimeOf(tool).permission ?? name |
| 149 | export const definition = (name: string, tool: AnyTool) => runtimeOf(tool).definition(name) |
| 150 | export const settle = (tool: AnyTool, call: ToolCall, context: Context) => runtimeOf(tool).settle(call, context) |
| 151 | |
| 152 | function runtimeOf(tool: AnyTool) { |
| 153 | const runtime = runtimes.get(tool) |
no test coverage detected