McpServerTool Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single tool within an MCP server knowledge source.
public class McpServerTool : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.McpServerTool>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.McpServerTool>
type McpServerTool = class
interface IJsonModel<McpServerTool>
interface IPersistableModel<McpServerTool>
Public Class McpServerTool
Implements IJsonModel(Of McpServerTool), IPersistableModel(Of McpServerTool)
- Inheritance
-
McpServerTool
- Implements
Constructors
| Name | Description |
|---|---|
| McpServerTool() |
Initializes a new instance of McpServerTool. |
Properties
| Name | Description |
|---|---|
| InclusionMode |
Controls how the parsed results from this tool are integrated into the final result set. Defaults to 'reranked' when not specified. |
| MaxOutputTokens |
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. |
| OutputParsing |
Optional configuration for parsing the tool's output. |