IntelligenceX

API Reference

Class

McpResourceTemplateInfo

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

Describes an MCP resource template.

Inheritance

  • Object
  • McpResourceTemplateInfo

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

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 requiredposition: 0
name System.String requiredposition: 1
title System.String requiredposition: 2
description System.String requiredposition: 3
mimeType System.String requiredposition: 4
annotations IntelligenceX.Json.JsonObject requiredposition: 5
meta IntelligenceX.Json.JsonObject requiredposition: 6
raw IntelligenceX.Json.JsonObject requiredposition: 7
additional IntelligenceX.Json.JsonObject requiredposition: 8

Methods

public static McpResourceTemplateInfo FromJson(JsonObject obj) #
Returns: McpResourceTemplateInfo

Parses a resource template from JSON.

Parameters

obj IntelligenceX.Json.JsonObject requiredposition: 0
Source JSON object.

Returns

The parsed resource template.

Properties

public String UriTemplate { get; } #

Gets the URI template (for example repo://{owner}/{name}).

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.