Class McpToolContext
- Namespace
- Sisk.ModelContextProtocol
- Assembly
- Sisk.ModelContextProtocol.dll
Provides context for the execution of an MCP tool.
public sealed class McpToolContext
- Inheritance
-
McpToolContext
- Inherited Members
Constructors
Properties
- Arguments
Gets the arguments provided for the tool execution as a JSON object.
- Cancellation
Gets a token to observe for cancellation requests.
- Metadata
Gets any additional metadata associated with the tool execution.
- Request
Gets the incoming HTTP request that triggered the tool execution.
- Server
Gets the MCP server instance associated with the current context.
- ToolName
Gets the name of the tool being executed.