LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • MCP Adapters
    • Overview
    • Agents
    • Callbacks
    • Chains
    • Chat models
    • Embeddings
    • Evaluation
    • Globals
    • Hub
    • Memory
    • Output parsers
    • Retrievers
    • Runnables
    • LangSmith
    • Storage
    Standard Tests
    Text Splitters
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    MCP Adapters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Standard Tests
    Text Splitters
    Language
    Theme
    Pythonlangchain-classicagentsoutput_parserstoolsToolAgentAction
    Class●Since v1.0

    ToolAgentAction

    Copy
    ToolAgentAction()

    Bases

    AgentActionMessageLog

    Attributes

    Inherited fromAgentActionMessageLog(langchain_core)

    Attributes

    Amessage_logAtype

    Inherited fromAgentAction(langchain_core)

    Attributes

    Atool
    View source on GitHub
    A
    tool_input
    Alog
    Atype
    Amessages

    Methods

    Mis_lc_serializableMget_lc_namespace

    Inherited fromSerializable(langchain_core)

    Attributes

    Alc_secretsAlc_attributesAmodel_config

    Methods

    Mis_lc_serializableMget_lc_namespaceMlc_idMto_jsonMto_json_not_implemented
    attribute
    tool_call_id: str | None

    Tool call that this message is responding to.

    Tool agent action.