long inputTokens

The number of input tokens used by the agent.

formatint64
InputTokensDetails inputTokensDetails

A breakdown of the agent’s input token usage.

long cachedTokens

The number of input tokens retrieved from the prompt cache.

formatint64
long outputTokens

The number of output tokens generated by the agent.

formatint64
OutputTokensDetails outputTokensDetails

A breakdown of the agent’s output token usage.

long reasoningTokens

The number of output tokens used for reasoning.

formatint64
long totalTokens

The total number of input and output tokens used by the agent.

formatint64