opencode_session_get
Retrieve detailed information about a specific session using its unique ID. Optionally target a project directory to scope the session lookup.
Instructions
Get details of a specific session by ID.
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": {
"id": "<id>"
},
"name": "opencode_session_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. |