ck_session
List, view status, or switch active session binding to manage governed sessions. Switching requires explicit confirmation.
Instructions
Enumerate and manage governed sessions. Three modes: list (enumerate sessions for the project); status (get current session details, resolves from project binding if session_id omitted); switch (change active session binding — REQUIRES confirm: true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to authorize a session switch. | |
| limit | No | Max sessions to return for list mode. Default: 20, max: 100. | |
| mode | No | Operation mode that determines the tool behavior and return shape. | |
| project_root | No | Absolute path to project root. Required for switch mode. | |
| session_id | No | Unique session identifier. Required for switch mode. Omit or pass nil to resolve from project binding. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| project_root | No | ||
| risk_tier | No | ||
| sessions | No | ||
| switched | No | ||
| title | No | ||
| total | No | ||
| workspace_id | No |