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>?

FallbackCredit

Gets or sets the fallback credit details.

Syntax

Property Value

Type: System.Nullable<System.Text.Json.JsonElement?>?

InferenceGeo

Gets or sets the geography where inference ran.

Syntax

Property Value

Type: string?

InputTokens

Gets or sets the number of input tokens consumed.

Syntax

Property Value

Type: int

Iterations

Gets or sets the per-iteration usage details.

Syntax

Property Value

Type: System.Nullable<System.Text.Json.JsonElement?>?

OutputTokens

Gets or sets the number of output tokens generated.

Syntax

Property Value

Type: int

OutputTokensDetails

Gets or sets a breakdown of the output tokens.

Syntax

Property Value

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

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".

Speed

Gets or sets the inference speed tier.

Syntax

Property Value

Type: string?

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?