LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    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
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph.prebuilttool_nodeToolCallRequest
    Class●Since v1.0

    ToolCallRequest

    Copy
    ToolCallRequest(
      self,
      tool_call: ToolCall,
      tool: BaseTool | None,
      state: Any,
      

    Constructors

    Attributes

    Methods

    View source on GitHub
    runtime
    :
    ToolRuntime
    )
    constructor
    __init__
    NameType
    tool_callToolCall
    toolBaseTool | None
    stateAny
    runtimeToolRuntime
    attribute
    tool_call: ToolCall
    attribute
    tool: BaseTool | None
    attribute
    state: Any
    attribute
    runtime: ToolRuntime
    method
    override

    Tool execution request passed to tool call interceptors.

    Replace the request with a new request with the given overrides.

    Returns a new ToolCallRequest instance with the specified attributes replaced. This follows an immutable pattern, leaving the original request unchanged.