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

chatbot-tool-usage

✓ Relevant

useChat with streamText supports three tool types (server auto-execute, client auto-execute, user-interaction); tools stream by default; render via message.parts with typed tool names and state-based UI; use onToolCall callback and addToolOutput for client tools; sendAutomaticallyWhen auto-submits when complete; dynamic tools use generic dynamic-tool type; error handling via output-error state or onError callback.