Tanstack 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.

lukasa1993 Updated 1 repo stars

File contents

lukasa1993/tanstack-skills-extracted commit 5229be3f89

Frequently asked questions

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