LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangGraph
  • Web
  • Channels
  • Pregel
  • Prebuilt
  • Remote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
  • Ui
  • Client
  • Auth
  • React
  • Logging
  • React Ui
  • Utils
  • Server
  • Stream
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
  • Store
LangGraph Checkpoint Redis
  • Shallow
  • Store
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
  • Cli
LangGraph API
LangGraph CLI
LangGraph CUA
  • Utils
LangGraph Supervisor
LangGraph Swarm
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangGraph
WebChannelsPregelPrebuiltRemote
React SDK
Vue SDK
Svelte SDK
Angular SDK
LangGraph SDK
UiClientAuthReactLoggingReact UiUtilsServerStream
LangGraph Checkpoint
LangGraph Checkpoint MongoDB
LangGraph Checkpoint Postgres
Store
LangGraph Checkpoint Redis
ShallowStore
LangGraph Checkpoint SQLite
LangGraph Checkpoint Validation
Cli
LangGraph API
LangGraph CLI
LangGraph CUA
Utils
LangGraph Supervisor
LangGraph Swarm
Language
Theme
JavaScript@langchain/langgraphindexToolCallStream
Interfaceā—Since v0.3

ToolCallStream

Copy
interface ToolCallStream

Properties

View source on GitHub
property
callId: string
property
error: Promise<string | undefined>
property
input: TInput
property
name: TName
property
output: Promise<TOutput>
property
status: Promise<ToolCallStatus>

Stable handle for one tool call: name, arguments, and async results.

Emitted when content-block-finish delivers a finalized tool_call block.

Correlates with protocol toolCallId when the runtime provides one.

Resolves to an error message string if ToolCallStream.status is "error", otherwise undefined.

Arguments passed to the tool (finalized when the call is observable).

The node name extracted from the last segment of the namespace path (everything before the final colon, or the full segment if no colon).

Resolves to ToolCallStatus when the call leaves the running state.