Skip to main content

ChatToolCallStatus

@gravity-rail/react


@gravity-rail/react / ChatToolCallStatus

Type Alias: ChatToolCallStatus

ChatToolCallStatus = "running" | "done" | "failed"

Tool activity for a Chat turn, reduced from the AG-UI tool-call events the stream carries: TOOL_CALL_START (toolCallId, toolCallName) opens a call and TOOL_CALL_RESULT (toolCallId, content) closes it.

A call records its name and status only. TOOL_CALL_ARGS and the result content can carry record data, so the reducer never stores them; it reads the start of a result once, to tell a failure from a success.