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>
ModelsUsed
Gets or sets the ordered distinct models used by the agent.Syntax
Property Value
Type:System.Collections.Generic.List<string>?
Prompt
Gets or sets the original prompt that was given to the agent.Syntax
Property Value
Type:string
ResolvedModel
Gets or sets the model that ran the agent.Syntax
Property Value
Type:string?
ToolStats
Gets or sets an aggregate breakdown of the tools used by the agent during execution.Syntax
Property Value
Type:CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentToolStats?
Remarks
This is optional and may be omitted when the harness does not collect per-tool statistics.ToolsUsed
Gets or sets the names of the tools used by the agent.Syntax
Property Value
Type:System.Collections.Generic.List<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
WorktreeBranch
Gets or sets the branch of the worktree the agent ran in.Syntax
Property Value
Type:string?
WorktreePath
Gets or sets the path of the worktree the agent ran in.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?