Get delegated session state
get_sessionRetrieve the stored state and live OpenCode status of a delegated session to monitor its progress.
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. |