Definition
Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses Inheritance: System.ObjectSyntax
Summary
Represents the result of an MCP tool execution.Remarks
The result is an untagged union, so exactly one of McpToolResponse.Text, McpToolResponse.ContentBlocks, or McpToolResponse.StructuredContent is populated, according to the JSON shape that the tool returned.Examples
Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
ContentBlocks
Gets or sets the content blocks, when the tool returned an array.Syntax
Property Value
Type:System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.McpContentBlock>?
StructuredContent
Gets or sets the structured result, when the tool returned an object.Syntax
Property Value
Type:System.Collections.Generic.Dictionary<string, System.Text.Json.JsonElement>
Text
Gets or sets the text result, when the tool returned a string.Syntax
Property Value
Type:string?
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?