session_status
Retrieve a session's derived status by session ID, with an optional server identifier, to check the state of another OpenCode session before reading, searching, comparing, or prompting it.
Instructions
Get derived status for a session.
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": "session_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Server id. Omit when exactly one server is available. | |
| session_id | Yes | Session id on that server. |