API Reference
Class
McpResourceInfo
Describes an MCP resource.
Inheritance
- Object
- McpResourceInfo
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
- Method McpResourceInfo.FromJson
- Property McpServerStatus.Resources
Accepted by parameters 1
- Constructor McpServerStatus.McpServerStatus
Constructors
public McpResourceInfo(String? uri, String? name, String? title, String? description, String? mimeType, Int64? size, JsonObject? annotations, JsonObject? meta, JsonObject raw, JsonObject? additional) #Initializes a new MCP resource info.
Parameters
- uri System.String?
- name System.String?
- title System.String?
- description System.String?
- mimeType System.String?
- size System.Int64?
- annotations IntelligenceX.Json.JsonObject?
- meta IntelligenceX.Json.JsonObject?
- raw IntelligenceX.Json.JsonObject
- additional IntelligenceX.Json.JsonObject?
Methods
public static McpResourceInfo FromJson(JsonObject obj) #Returns:
McpResourceInfoParses resource info from JSON.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
Returns
The parsed resource info.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?