{"slug": "chat-sdk-now-includes-ai-sdk-tools", "title": "Chat SDK now includes AI SDK tools", "summary": "Chat SDK now includes a built-in AI SDK toolset accessible via the new `chat/ai` subpath, enabling developers to integrate read and write actions into their agents with a single `createChatTools(chat)` call. The toolset features approval-gated write tools, presets for reader, messenger, and moderator roles, and lazy loading of tools based on the selected preset. The `toAiMessages` function and its supporting types have moved to `chat/ai`, with previous `chat` re-exports now deprecated.", "body_md": "Chat SDK now ships a built-in [AI SDK](https://ai-sdk.dev/docs/foundations/tools) toolset through the new `chat/ai`\n\nsubpath. One `createChatTools(chat)`\n\ncall wires Chat SDK's read and write actions into your agent.\n\n**Approval by default: **write tools are gated by a `requireApproval`\n\noption.\n\n**Presets: **`reader`\n\n, `messenger`\n\n, and `moderator`\n\nscope the toolset.\n\n**Lazy loading: **only the tools your preset allows are constructed.\n\n`toAiMessages`\n\nand its supporting types have moved to `chat/ai`\n\n. The previous `chat`\n\nre-exports are flagged `@deprecated`\n\n.\n\nRead the [documentation](https://chat-sdk.dev/docs/ai) to get started, or try one of our [templates](https://chat-sdk.dev/resources).", "url": "https://wpnews.pro/news/chat-sdk-now-includes-ai-sdk-tools", "canonical_source": "https://vercel.com/changelog/chat-sdk-now-includes-ai-sdk-tools", "published_at": "2026-05-20 00:00:00+00:00", "updated_at": "2026-05-25 00:25:55.413718+00:00", "lang": "en", "topics": ["ai-tools", "ai-products", "artificial-intelligence", "ai-agents", "generative-ai"], "entities": ["Chat SDK", "AI SDK"], "alternates": {"html": "https://wpnews.pro/news/chat-sdk-now-includes-ai-sdk-tools", "markdown": "https://wpnews.pro/news/chat-sdk-now-includes-ai-sdk-tools.md", "text": "https://wpnews.pro/news/chat-sdk-now-includes-ai-sdk-tools.txt", "jsonld": "https://wpnews.pro/news/chat-sdk-now-includes-ai-sdk-tools.jsonld"}}