openclaw_sessions_compaction_list
Lists compaction snapshots for a session. Provide the session id to retrieve its compaction history.
Instructions
List compaction snapshots for a session. Wraps sessions.compaction.list. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. Most session.* methods accept the `sessionId` (UUID); a few accept the composite `key` (e.g. 'agent:main:cron:<id>'). When unsure, try the UUID first; if rejected with NOT_FOUND, retry with the key from openclaw_sessions_list. | |
| instance | No | Optional OpenClaw instance to route this call to (e.g. 'default', 'work'). Falls back to the active default instance, or the OPENCLAW_GATEWAY_URL/TOKEN env vars when set. List configured instances with openclaw_setup_list. |