Class
McpResourceTemplateInfo
Describes an MCP resource template.
Inheritance
- Object
- McpResourceTemplateInfo
Constructors
public McpResourceTemplateInfo(String uriTemplate, String name, String title, String description, String mimeType, JsonObject annotations, JsonObject meta, JsonObject raw, JsonObject additional) #Initializes a new MCP resource template info.
Parameters
- uriTemplate System.String
- name System.String
- title System.String
- description System.String
- mimeType System.String
- annotations IntelligenceX.Json.JsonObject
- meta IntelligenceX.Json.JsonObject
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject
Methods
public static McpResourceTemplateInfo FromJson(JsonObject obj) #Returns:
McpResourceTemplateInfoParses a resource template from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed resource template.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String UriTemplate { get; } #Gets the URI template.
public String Name { get; } #Gets the template name.
public String Title { get; } #Gets the template title.
public String Description { get; } #Gets the template description.
public String MimeType { get; } #Gets the mime type.
public JsonObject Annotations { get; } #Gets template annotations.
public JsonObject Meta { get; } #Gets template metadata.
public JsonObject Raw { get; } #Gets the raw JSON object.
public JsonObject Additional { get; } #Gets unrecognized fields from the payload.