Skip to main content

Definition

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

Syntax

Summary

Represents a content block returned by an MCP tool.

Remarks

Only McpContentBlock.Type is defined by the schema. Every other property depends on the block type and is available through McpContentBlock.ExtensionData.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

ExtensionData

Gets or sets any additional properties of the content block.

Syntax

Property Value

Type: System.Collections.Generic.Dictionary<string, System.Text.Json.JsonElement>

Type

Gets or sets the type of the content block.

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?