DocsReact Corecore-typesToolCallState
Package: @hexos/react-core

Lifecycle state of a tool call on the frontend.

Tracks tool execution through: pending (waiting to start), executing (in progress), awaiting-approval (blocked on user decision), completed (finished successfully), or failed (execution error). Used by ToolCallRenderer for visual state.

type ToolCallState = 'pending' | 'executing' | 'awaiting-approval' | 'completed' | 'failed'