McpServerTool interface
Represents a single tool within an MCP server knowledge source.
Properties
| inclusion |
Controls how the parsed results from this tool are integrated into the final result set. Defaults to 'reranked' when not specified. |
| max |
Optional post-parsing token cap for this tool's output. Must be greater than 0 when specified. |
| name | The name of the MCP tool to invoke. |
| output |
Optional configuration for parsing the tool's output. |
Property Details
inclusionMode
Controls how the parsed results from this tool are integrated into the final result set. Defaults to 'reranked' when not specified.
inclusionMode?: string
Property Value
string
maxOutputTokens
Optional post-parsing token cap for this tool's output. Must be greater than 0 when specified.
maxOutputTokens?: number
Property Value
number
name
The name of the MCP tool to invoke.
name?: string
Property Value
string
outputParsing
Optional configuration for parsing the tool's output.
outputParsing?: McpServerOutputParsingUnion