Definition
Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses Inheritance: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentToolResponseSyntax
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.AgentToolResponseSyntax
.ctor Inherited
Inherited from
objectSyntax
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
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?