5 pages for autocompactenabled.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…int rawMaxTokens: int percentage: float model: str isAutoCompactEnabled: bool memoryFiles: list[dict[str, Any]] mcpTools: list[dict[str, Any]] agents: list[dict[str, Any]]…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…tokens: number; }[]; }; autoCompactThreshold?: number; isAutoCompactEnabled: boolean; messageBreakdown?: { toolCallTokens: number; toolResultTokens: number; attachmentTokens…
Error reference
Claude Code CLI · in the page
errors
…same denial. If you turned [auto-compact](/docs/en/settings-reference#autocompactenabled) off, turn it back on so Claude Code compacts on its own next time. * Send another message to have Claude try a…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `autoCompactEnabled` | **Default**: `true`. Automatically compact the conversation when context approaches the limit.…
All settings
Claude Code CLI · in the page
settings-reference
…ocs/en/remote-control) commits | Git and attribution | Any file | | [`autoCompactEnabled`](#autocompactenabled) | Turn [automatic compaction](/docs/en/context-window) off or on | Memory and context |…