AI Core/tool Calling

Isomorphic tool system: toolDefinition() with Zod schemas, .server() and .client() implementations, passing tools to both chat() on server and useChat/clientTools on client, tool approval flows with needsApproval and bound interrupts (resolveInterrupt), generic middleware interrupts with defineInterrupt(), lazy tool discovery with lazy:true, rendering ToolCallPart and ToolResultPart in UI.

TanStack Updated 28.6k repo stars
TanStack AI

File contents

tanstack/ai commit 62da45d393

Frequently asked questions

npx get-skill add tanstack/ai-core-tool-calling