https://tanstack.com/ai/latest/docs/reference/type-aliases/ToolResultState
ToolResultState | TanStack AI Docs
Type Alias: ToolResultState ts type ToolResultState = "streaming" | "complete" | "error"; Defined in: Tool result states track the lifecycle of a tool result
tanstack aidocs