OptionaladapterAdapter used to create LangChain tools.
OptionaladditionalInstructions appended to the generated system message.
OptionaladditionalAdditional LangChain tools exposed alongside MCP tools.
OptionalagentHosted agent identifier for remote execution.
OptionalapiRemote API key. Defaults to MCP_USE_API_KEY.
OptionalautoInitializes the agent on its first run. Defaults to false.
OptionalbaseRemote API origin.
OptionalcallbacksCustom LangChain observability callbacks.
OptionaldisallowedMCP tool names to omit from the agent.
OptionalexposeExposes MCP prompts as tools. Defaults to true.
OptionalexposeExposes MCP resources as tools. Defaults to true.
OptionalmaxMaximum model calls per run. Defaults to 5.
OptionalmemoryRetains conversation history between runs. Defaults to true.
OptionalobserveEnables observability callbacks. Defaults to true.
OptionalserverFactory used to customize server management.
OptionalsystemComplete system instruction override.
OptionalsystemTemplate used to build the system instruction from available tools.
OptionaltoolsMutable array populated with tool names used during execution.
OptionaluseEnables dynamic server-selection tools.
OptionalverboseEnables detailed execution logging.
Options shared by explicit and simplified LangChain agents.