Skip to main content

Definition

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

Syntax

Summary

Represents an aggregate breakdown of the tools used by an Agent during its execution.

Remarks

These counts give a high-level view of the agent’s workload, useful for understanding whether the agent spent its time searching, reading, editing, or running shell commands. The AgentToolStats.LinesAdded and AgentToolStats.LinesRemoved counts aggregate line-level changes across all Edit/Write operations performed by the agent. Example JSON payload:

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

BashCount

Gets or sets the number of Bash shell commands executed by the agent.

Syntax

Property Value

Type: int

EditFileCount

Gets or sets the number of file edit or write operations performed by the agent.

Syntax

Property Value

Type: int

FrameCount

Gets or sets the number of frames captured by the agent.

Syntax

Property Value

Type: System.Nullable<int>

LinesAdded

Gets or sets the total number of lines added across all edit and write operations.

Syntax

Property Value

Type: int

LinesRemoved

Gets or sets the total number of lines removed across all edit and write operations.

Syntax

Property Value

Type: int

OtherToolCount

Gets or sets the number of other tool invocations not covered by the specific counters.

Syntax

Property Value

Type: int

ReadCount

Gets or sets the number of file read operations performed by the agent.

Syntax

Property Value

Type: int

SearchCount

Gets or sets the number of search operations (Grep, Glob, etc.) performed by the agent.

Syntax

Property Value

Type: int

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?