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.
OptionalclientExisting MCP client.
OptionalconnectorsExisting MCP connectors.
OptionaldisallowedMCP tool names to omit from the agent.
OptionalexposeExposes MCP prompts as tools. Defaults to true.
OptionalexposeExposes MCP resources as tools. Defaults to true.
Pre-instantiated LangChain chat model.
OptionalllmSimplified model configuration is not accepted in explicit mode.
OptionalmaxMaximum model calls per run. Defaults to 5.
OptionalmcpSimplified server configurations are not accepted in explicit mode.
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 for a pre-instantiated LangChain model and MCP client/connectors.