Class
McpToolInfo
Describes an MCP tool.
Inheritance
- Object
- McpToolInfo
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 override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; } #Gets the tool name.
public String Title { get; } #Gets the tool title.
public String Description { get; } #Gets the tool description.
public JsonObject InputSchema { get; } #Gets the input schema.
public JsonObject OutputSchema { get; } #Gets the output schema.
public JsonObject Annotations { get; } #Gets tool annotations.
public JsonObject Meta { get; } #Gets tool metadata.
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.