McpTool
Machine-readable MCP tool descriptor.
- Kind:
Class - Namespace: Repl.Protocol
- Assembly:
Repl.Protocol - Source: src/Repl.Protocol/McpTool.cs
Signature
Section titled “Signature”public sealed record McpTool : IEquatable<McpTool>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<McpTool>
Constructors
Section titled “Constructors”McpTool(string, string, object)
Section titled “McpTool(string, string, object)”Machine-readable MCP tool descriptor.
public McpTool(string Name, string Description, object InputSchema)Parameters
Section titled “Parameters”Name(string): Stable tool name.Description(string): Tool description.InputSchema(object): Input schema object for the tool.
Properties
Section titled “Properties”Description
Section titled “Description”Tool description.
public string Description { get; init; }Returns
Section titled “Returns”InputSchema
Section titled “InputSchema”Input schema object for the tool.
public object InputSchema { get; init; }Returns
Section titled “Returns”Stable tool name.
public string Name { get; init; }