(toolName: string, args: string)
| 362 | } |
| 363 | |
| 364 | async function executeTool(toolName: string, args: string) { |
| 365 | const toolsForSubmit = await getModelContext().getTools(); |
| 366 | const testFormSubmitTool = toolsForSubmit.find((t) => t.name === toolName)!; |
| 367 | return getModelContext().executeTool!(testFormSubmitTool, args); |
| 368 | } |
no test coverage detected