Chat SDK now ships a built-in AI SDK toolset through the new
Read the documentation to get started, or try one of our templates.
Read more
Continue reading...
chat/ai subpath. One createChatTools(chat) call wires Chat SDK's read and write actions into your agent.
Approval by default: write tools are gated by arequireApprovaloption.
Presets:reader,messenger, andmoderatorscope the toolset.
Lazy loading: only the tools your preset allows are constructed.
toAiMessages and its supporting types have moved to chat/ai. The previous chat re-exports are flagged @deprecated.Read the documentation to get started, or try one of our templates.
Read more
Continue reading...