Debian Codegraph @

src/anthropic/types/context_management_capability.py

raw
1 from typing import Optional
2
3 from .._models import BaseModel
4 from .capability_support import CapabilitySupport
5
6 __all__ = ["ContextManagementCapability"]
7
8
9 class ContextManagementCapability(BaseModel):
10 """Context management capability details."""
11
12 clear_thinking_20251015: Optional[CapabilitySupport] = None
13 """Indicates whether a capability is supported."""
14
15 clear_tool_uses_20250919: Optional[CapabilitySupport] = None
16 """Indicates whether a capability is supported."""
17
18 compact_20260112: Optional[CapabilitySupport] = None
19 """Indicates whether a capability is supported."""
20
21 supported: bool
22 """Whether this capability is supported by the model."""