Skip to content

SDKControlSetMaxThinkingTokensRequest

Base classes

Name Children Inherits
_ControlBase
clawd_code_sdk.models.control
Frozen base for all SDK control request models.

⋔ Inheritance diagram

graph TD
  415849624["control.SDKControlSetMaxThinkingTokensRequest"]
  1268774935["control._ControlBase"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  1268774935 --> 415849624
  3879467795 --> 1268774935
  2751680898 --> 3879467795

🛈 DocStrings

Bases: _ControlBase

Sets the maximum number of thinking tokens for extended thinking.

Source code in src/clawd_code_sdk/models/control.py
class SDKControlSetMaxThinkingTokensRequest(_ControlBase):
    """Sets the maximum number of thinking tokens for extended thinking."""

    subtype: Literal["set_max_thinking_tokens"] = "set_max_thinking_tokens"
    max_thinking_tokens: int | None = None
    thinking_display: Literal["summarized", "omitted", "highlights"] | None = None

:fa-brands-github: Show source on GitHub