opencode_session_children
Retrieve child sessions for a given session ID, optionally scoped to a project directory, to inspect sub-sessions and related work.
Instructions
Get child sessions of 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": {
"id": "<id>"
},
"name": "opencode_session_children"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. |