模型
Models
CapabilitySupport object{ supported }Indicates whether a capability is supported.
Indicates whether a capability is supported.
Whether this capability is supported by the model.
ContextManagementCapability object{ clear_thinking_20251015, clear_tool_uses_20250919, compact_20260112, supported }Context management capability details.
Context management capability details.
clear_thinking_20251015: CapabilitySupport { supported } or nullWhether the clear_thinking_20251015 strategy is supported.
Whether the clear_thinking_20251015 strategy is supported.
Whether this capability is supported by the model.
clear_tool_uses_20250919: CapabilitySupport { supported } or nullWhether the clear_tool_uses_20250919 strategy is supported.
Whether the clear_tool_uses_20250919 strategy is supported.
Whether this capability is supported by the model.
compact_20260112: CapabilitySupport { supported } or nullWhether the compact_20260112 strategy is supported.
Whether the compact_20260112 strategy is supported.
Whether this capability is supported by the model.
Whether this capability is supported by the model.
EffortCapability object{ high, low, max, 3 more }Effort (reasoning_effort) capability details.
Effort (reasoning_effort) capability details.
ModelCapabilities object{ batch, citations, code_execution, 6 more }Model capability information.
Model capability information.
ModelInfo object{ type: "model", id, capabilities, 5 more }
ModelLine = "haiku" or "sonnet" or "opus" or 2 moreA Claude model line, such as opus or sonnet. More lines may be added as new values.
A Claude model line, such as opus or sonnet. More lines may be added as new values.
ThinkingCapability object{ supported, types }Thinking capability details.
Thinking capability details.
Whether this capability is supported by the model.
types: ThinkingTypes { adaptive, enabled }Supported thinking type configurations.
Supported thinking type configurations.
adaptive: CapabilitySupport { supported }Whether the model supports thinking with type 'adaptive' (auto).
Whether the model supports thinking with type 'adaptive' (auto).
Whether this capability is supported by the model.
enabled: CapabilitySupport { supported }Whether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.
ThinkingTypes object{ adaptive, enabled }Supported thinking type configurations.
Supported thinking type configurations.
adaptive: CapabilitySupport { supported }Whether the model supports thinking with type 'adaptive' (auto).
Whether the model supports thinking with type 'adaptive' (auto).
Whether this capability is supported by the model.
enabled: CapabilitySupport { supported }Whether the model supports thinking with type 'enabled'.
Whether the model supports thinking with type 'enabled'.
Whether this capability is supported by the model.