Constructor McpTool
- Namespace
- Sisk.ModelContextProtocol
- Assembly
- Sisk.ModelContextProtocol.dll
McpTool(string, string, JsonSchema, McpToolHandler, string?)
Initializes a new instance of the McpTool class.
public McpTool(string name, string description, JsonSchema schema, McpToolHandler executionHandler, string? title = null)
Parameters
namestringThe unique name of the tool.
descriptionstringA description of what the tool does.
schemaJsonSchemaThe JSON schema defining the tool's input arguments.
executionHandlerMcpToolHandlerThe handler function that will be executed when the tool is invoked.
titlestringThe optional display title of the tool.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語