Home / Class/ BetaClearToolUses20250919EditParam Class — anthropic-sdk-python Architecture

BetaClearToolUses20250919EditParam Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaClearToolUses20250919EditParam class in beta_clear_tool_uses_20250919_edit_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  d109d16a_fefd_96c4_96a3_40991550cccc["BetaClearToolUses20250919EditParam"]
  6e0bfe6d_70a1_641c_7a7d_77c23bafc431["beta_clear_tool_uses_20250919_edit_param.py"]
  d109d16a_fefd_96c4_96a3_40991550cccc -->|defined in| 6e0bfe6d_70a1_641c_7a7d_77c23bafc431

Relationship Graph

Source Code

src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py lines 19–38

class BetaClearToolUses20250919EditParam(TypedDict, total=False):
    type: Required[Literal["clear_tool_uses_20250919"]]

    clear_at_least: Optional[BetaInputTokensClearAtLeastParam]
    """Minimum number of tokens that must be cleared when triggered.

    Context will only be modified if at least this many tokens can be removed.
    """

    clear_tool_inputs: Union[bool, SequenceNotStr[str], None]
    """Whether to clear all tool inputs (bool) or specific tool inputs to clear (list)"""

    exclude_tools: Optional[SequenceNotStr[str]]
    """Tool names whose uses are preserved from clearing"""

    keep: BetaToolUsesKeepParam
    """Number of tool uses to retain in the conversation"""

    trigger: Trigger
    """Condition that triggers the context management strategy"""

Frequently Asked Questions

What is the BetaClearToolUses20250919EditParam class?
BetaClearToolUses20250919EditParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py.
Where is BetaClearToolUses20250919EditParam defined?
BetaClearToolUses20250919EditParam is defined in src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py at line 19.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free