AI & Machine Learning

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.

Publisher / source
TanStack/ai (found on GitHub top repositories)
Upstream record
TanStack/ai
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
9eee302fc35750d81d8cfb1b5c3840756296833ad374bb52b90eb8d30656ef63