openclaw_sessions_compaction_branch
Create a new session branching from a compaction snapshot to explore alternative continuations while preserving the original session state.
Instructions
Create a NEW session that starts from a previous compaction snapshot of an existing session. Wraps sessions.compaction.branch. Use this when you want to explore an alternative continuation without losing the current session state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Compaction snapshot id to branch from. | |
| title | No | Title for the new branched session. | |
| 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. | |
| sessionId | No | Source session id, when the snapshot id is ambiguous. |