Command Palette
Search for a command to run
Command Palette
Search for a command to run

onToolCall Type Narrowing

✓ Relevant

Fix TypeScript type errors in onToolCall by checking toolCall.dynamic to narrow toolName type from string to specific static tool names before passing to addToolOutput.