Get delegated session state
get_sessionRetrieve a delegated session's stored state and live OpenCode status to check task progress. Provide the session_id from delegate_task or create_session.
Instructions
Return the stored state of a delegated session plus its live OpenCode status when a server is running. Use get_diff to inspect file changes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "get_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session id returned by delegate_task/create_session. |