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 5229be3 3 files · 30.6 KB Updated

File contents

lukasa1993/tanstack-skills-extracted/tree/main/skills/tanstack-ai-core-tool-calling commit 5229be3f89

Frequently asked questions

npx skillmds@latest add lukasa1993/tanstack-ai-core-tool-calling