LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    LangGraph Store
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdk_syncstreamSyncToolCallHandle
    Classā—Since v0.3

    SyncToolCallHandle

    Copy
    SyncToolCallHandle(
      self,
      *,
      tool_call_id: str,
      name: str,
      input: Any 

    Constructors

    Attributes

    View source on GitHub
    =
    None
    ,
    namespace
    :
    list
    [
    str
    ]
    |
    None
    =
    None
    ,
    max_queue_size
    :
    int
    =
    1024
    )
    constructor
    __init__
    NameType
    tool_call_idstr
    namestr
    inputAny
    namespacelist[str] | None
    max_queue_sizeint
    attribute
    tool_call_id: tool_call_id
    attribute
    name: name
    attribute
    input: input
    attribute
    namespace
    attribute
    done: bool
    attribute
    error: BaseException | None
    attribute
    output: Any
    attribute
    deltas: Iterator[str]

    Sync handle for one root-scope tool call.

    Block until the tool call completes and return its output.

    Iterate over tool output deltas emitted before the terminal event.