OptionaladditionalOptionaldefaultDefault timeout in milliseconds for tool execution. Must be greater than 0. If not specified, tools will use their own configured timeout values.
OptionaloutputDefines where to place each tool output type in the LangChain ToolMessage.
OptionalprefixIf true, the tool name will be prefixed with the server name followed by a double underscore. This is useful if you want to avoid tool name collisions across servers.
OptionalthrowIf true, throw an error if a tool fails to load.
OptionaluseIf true, the tool will use LangChain's standard multimodal content blocks for tools that output
image or audio content, and embedded resources will be converted to StandardFileBlock objects.
When false, all artifacts are left in their MCP format, but embedded resources will be
converted to StandardFileBlock objects if outputHandling causes embedded resources to
be treated as content, as otherwise ChatModel providers will not be able to interpret them.
An additional prefix to add to the tool name. Will be added at the very beginning of the tool name, separated by a double underscore.
For example, if
additionalToolNamePrefixis"mcp", andprefixToolNameWithServerNameistrue, the tool name"my-tool"provided by server"my-server"will become"mcp__my-server__my-tool".Similarly, if
additionalToolNamePrefixismcpandprefixToolNameWithServerNameis false, the tool name would be"mcp__my-tool".