opencode_session_get
Retrieve details of a specific OpenCode session by ID. Provide the session ID and optional project directory to get session information for debugging or tracking autonomous coding tasks.
Instructions
Get details of a specific session by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session ID | |
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |