opencode_session_children
Retrieve child sessions for a given parent session ID to inspect session hierarchies and track related coding tasks.
Instructions
Get child sessions of a session
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Parent 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 |