> ## Documentation Index
> Fetch the complete documentation index at: https://ai.easyaf.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AgentUsageInfo

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

## Definition

**Assembly:** CloudNimble.ClaudeEssentials.dll

**Namespace:** CloudNimble.ClaudeEssentials.Hooks.Tools.Responses

**Inheritance:** System.Object

## Syntax

```csharp theme={null}
CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentUsageInfo
```

## Summary

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

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={null}
public AgentUsageInfo()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public Object()
```

## Properties

### &#x20;CacheCreation

Gets or sets the cache creation breakdown by ephemeral duration.

#### Syntax

```csharp theme={null}
public CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentCacheCreationInfo CacheCreation { get; set; }
```

#### Property Value

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

### &#x20;CacheCreationInputTokens

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

#### Syntax

```csharp theme={null}
public System.Nullable<int> CacheCreationInputTokens { get; set; }
```

#### Property Value

Type: `System.Nullable<int>?`

### &#x20;CacheReadInputTokens

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

#### Syntax

```csharp theme={null}
public System.Nullable<int> CacheReadInputTokens { get; set; }
```

#### Property Value

Type: `System.Nullable<int>?`

### &#x20;InputTokens

Gets or sets the number of input tokens consumed.

#### Syntax

```csharp theme={null}
public int InputTokens { get; set; }
```

#### Property Value

Type: `int`

### &#x20;OutputTokens

Gets or sets the number of output tokens generated.

#### Syntax

```csharp theme={null}
public int OutputTokens { get; set; }
```

#### Property Value

Type: `int`

### &#x20;ServerToolUse

Gets or sets the server-side tool use counts.

#### Syntax

```csharp theme={null}
public CloudNimble.ClaudeEssentials.Hooks.Tools.Responses.AgentServerToolUseInfo ServerToolUse { get; set; }
```

#### Property Value

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

### &#x20;ServiceTier

Gets or sets the service tier used for this execution.

#### Syntax

```csharp theme={null}
public string ServiceTier { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

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

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={null}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.