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-classicsmithevaluationstring_run_evaluatorToolStringRunMapper
    Class●Since v1.0

    ToolStringRunMapper

    Copy
    ToolStringRunMapper()

    Bases

    StringRunMapper

    Methods

    Inherited fromStringRunMapper

    Attributes

    Aoutput_keys: list[str]
    —

    The keys to use for the output.

    Inherited fromSerializable(langchain_core)

    Attributes

    Alc_secretsA
    View source on GitHub
    lc_attributes
    Amodel_config

    Methods

    Mis_lc_serializableMget_lc_namespaceMlc_idMto_jsonMto_json_not_implemented
    method
    map

    Map an input to the tool.