API Reference
Class
McpToolInfo
Describes an MCP tool.
Inheritance
- Object
- McpToolInfo
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property McpServerStatus.Tools
- Method McpToolInfo.FromJson
Accepted by parameters 1
- Constructor McpServerStatus.McpServerStatus
Constructors
public McpToolInfo(String name, String? title, String? description, JsonObject? inputSchema, JsonObject? outputSchema, JsonObject? annotations, JsonObject? meta, JsonObject raw, JsonObject? additional) #Initializes a new MCP tool info.
Parameters
- name System.String
- title System.String?
- description System.String?
- inputSchema IntelligenceX.Json.JsonObject?
- outputSchema IntelligenceX.Json.JsonObject?
- annotations IntelligenceX.Json.JsonObject?
- meta IntelligenceX.Json.JsonObject?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
Methods
public static McpToolInfo FromJson(JsonObject obj, String? fallbackName = null) #Returns:
McpToolInfoParses tool info from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
- fallbackName System.String? = null
- Fallback tool name.
Returns
The parsed tool info.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String? Description { get; } #Gets the optional tool description.
public JsonObject? InputSchema { get; } #Gets the input schema (when provided by the server).
public JsonObject? OutputSchema { get; } #Gets the output schema (when provided by the server).
public JsonObject? Additional { get; } #Gets unrecognized fields from the payload.