LangGraph.js API Reference
Back to documentation
Preparing search index...
@langchain/langgraph-sdk
react
ToolCallState
Type Alias ToolCallState
ToolCallState
:
"pending"
|
"completed"
|
"error"
The lifecycle state of a tool call.
pending
: Tool call received, awaiting result
completed
: Tool execution finished successfully
error
: Tool execution failed (result.status === "error")
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Back to documentation
LangGraph.js API Reference
Loading...
The lifecycle state of a tool call.
pending: Tool call received, awaiting resultcompleted: Tool execution finished successfullyerror: Tool execution failed (result.status === "error")