IntelligenceX
Class

McpResourceTemplateInfo

Namespace IntelligenceX.OpenAI.AppServer.Models
Assembly IntelligenceX
Modifiers sealed

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: McpResourceTemplateInfo

Parses a resource template from JSON.

Parameters

obj IntelligenceX.Json.JsonObject
Source JSON object.

Returns

The parsed resource template.

Properties

public String UriTemplate { get; } #

Gets the URI template.

public String Description { get; } #

Gets the template description.

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.