session.get
Retrieve a session record as JSON—ID, title, status, branch, commit, last agent, task ID, and timestamps—omitting the session ID to read the active session.
Instructions
Return the session record as JSON: id, title, status, branch, commit, last_agent, current_task_id and timestamps. Read-only. It does not carry decisions, blockers or the next action — call context.get (or context.read in a read-only client) for those. Defaults to the active session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID to read; omit for the project's active session |