Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses Inheritance: System.Object

Syntax

Summary

Represents the content of a single MCP (Model Context Protocol) resource as returned by the ReadMcpResource tool.

Remarks

Each content entry corresponds to a resource identified by its URI. Text resources include their content inline, while binary resources are saved to disk and the path is provided. Example JSON:

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

BlobSavedTo

Gets or sets the path where binary blob content was saved.

Syntax

Property Value

Type: string?

Remarks

This is populated instead of McpResourceContent.Text when the resource contains binary data that cannot be represented as text.

MimeType

Gets or sets the MIME type of the content.

Syntax

Property Value

Type: string?

Text

Gets or sets the text content of the resource.

Syntax

Property Value

Type: string?

Uri

Gets or sets the resource URI.

Syntax

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?