Skip to content

AgentOutputTokensDetails

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  145727197["output_types.AgentOutputTokensDetails"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 145727197
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Breakdown of output tokens of an agent task.

Source code in src/clawd_code_sdk/models/output_types.py
class AgentOutputTokensDetails(TypedDict):
    """Breakdown of output tokens of an agent task."""

    thinking_tokens: NotRequired[int | None]
    """Number of thinking tokens."""

thinking_tokens instance-attribute

thinking_tokens: NotRequired[int | None]

Number of thinking tokens.

:fa-brands-github: Show source on GitHub