(name: string)
| 455 | logger.debug('Executing tool', { name, args: parsed }); |
| 456 | |
| 457 | try { |
| 458 | const result = await tool.execute(parsed, ctx); |
| 459 | return result; |
| 460 | } catch (e: any) { |
| 461 | return { |
| 462 | content: `[TOOL_ERROR] ${name} failed: ${e.message}\nReview the error and try a different approach.`, |
no test coverage detected