Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses Inheritance: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentToolResponse

Syntax

Summary

Represents the Agent tool response when the agent completed its work synchronously and returned its results inline.

Remarks

Example JSON payload:

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentToolResponse

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

AgentId

Gets or sets the unique identifier for this agent instance.

Syntax

Property Value

Type: string

AgentType

Gets or sets the type of agent that was used.

Syntax

Property Value

Type: string?

Content

Gets or sets the content blocks returned by the agent.

Syntax

Property Value

Type: System.Collections.Generic.List<CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentContentBlock>

Prompt

Gets or sets the original prompt that was given to the agent.

Syntax

Property Value

Type: string

TotalDurationMs

Gets or sets the total duration of the agent execution in milliseconds.

Syntax

Property Value

Type: int

TotalTokens

Gets or sets the total number of tokens consumed by the agent.

Syntax

Property Value

Type: int

TotalToolUseCount

Gets or sets the total number of tool uses made by the agent during execution.

Syntax

Property Value

Type: int

Usage

Gets or sets the detailed token usage breakdown for this agent execution.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentUsageInfo

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?