Skip to main content
Create a set of Chat SDK tools for the Vercel AI SDK. Lets an AI agent operate inside a workspace: read messages, post replies, send DMs, react, edit, delete, and manage thread subscriptions across every adapter the supplied ChatBinding has registered. Write operations and arbitrary user profile lookups require approval by default. Control this globally or per-tool via requireApproval. Use preset to scope the toolset. Using TanStack AI instead? Import createTanStackTools from chat/ai/tanstack; it exposes the same tools, options, and presets.

Parameters

Returns

Partial<ChatToolMap>