Skip to main content

Definition

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

Syntax

Summary

Contains token usage information for a completed agent execution, including input/output token counts, cache statistics, and server-side tool use.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

CacheCreation

Gets or sets the cache creation breakdown by ephemeral duration.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentCacheCreationInfo?

CacheCreationInputTokens

Gets or sets the number of input tokens used for cache creation.

Syntax

Property Value

Type: System.Nullable<int>?

CacheReadInputTokens

Gets or sets the number of input tokens read from cache.

Syntax

Property Value

Type: System.Nullable<int>?

InputTokens

Gets or sets the number of input tokens consumed.

Syntax

Property Value

Type: int

OutputTokens

Gets or sets the number of output tokens generated.

Syntax

Property Value

Type: int

ServerToolUse

Gets or sets the server-side tool use counts.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentServerToolUseInfo?

ServiceTier

Gets or sets the service tier used for this execution.

Syntax

Property Value

Type: string?

Remarks

Known values: "standard", "priority", "batch".

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?