get_session_hygiene
Learn when to use /clear vs /compact in Claude Code sessions: get context window limits, autocompact thresholds, and CLAUDE.md hygiene rules to prevent context overflow.
Instructions
Returns /clear vs /compact rules, context window facts, autocompact buffer thresholds, and CLAUDE.md hygiene.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_session_hygiene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||