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

    Chat LangChain

    What can I help with?

    Enter to sendยทShift+Enter new line

    Menu

    MCP Adapters
    Standard Tests
    Text Splitters
    OverviewAgentsCallbacksChainsChat modelsEmbeddingsEvaluationGlobalsHubMemoryOutput parsersRetrieversRunnablesLangSmithStorage
    Language
    Theme
    Pythonlangchain-classicagentsoutput_parserstoolsToolAgentAction
    Classโ—Since v1.5

    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.