> ## Documentation Index
> Fetch the complete documentation index at: https://ai.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# McpResourceContent

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

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks.Tools.Responses

**Inheritance:** System.Object

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.McpResourceContent
```

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

```csharp theme={null}
{
  "uri": "file:///workspace/config.json",
  "mimeType": "application/json",
  "text": "{ \"key\": \"value\" }"
}
```

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={null}
public McpResourceContent()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public Object()
```

## Properties

### &#x20;BlobSavedTo

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

#### Syntax

```csharp theme={null}
public string BlobSavedTo { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

This is populated instead of [McpResourceContent.Text](https://ai.easyaf.dev/claudeessentials/api-reference/CloudNimble/ClaudeEssentials/Hooks/Tools/Responses/McpResourceContent.md#text) when the resource contains binary data
that cannot be represented as text.

### &#x20;MimeType

Gets or sets the MIME type of the content.

#### Syntax

```csharp theme={null}
public string MimeType { get; set; }
```

#### Property Value

Type: `string?`

### &#x20;Text

Gets or sets the text content of the resource.

#### Syntax

```csharp theme={null}
public string Text { get; set; }
```

#### Property Value

Type: `string?`

### &#x20;Uri

Gets or sets the resource URI.

#### Syntax

```csharp theme={null}
public string Uri { get; set; }
```

#### Property Value

Type: `string`

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.