Delegate several tasks in parallel
oc_delegate_parallelLaunch multiple independent OpenCode tasks in parallel, each with its own model, agent, and skills, then wait for all results. Use for fan-out research, separate files, or model comparison.
Instructions
Start several independent OpenCode tasks at once (one session each, with any model/agent/skills) and wait for all of them. Built for fan-out: multi-angle research, independent files, model comparison.
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": {
"tasks": "<tasks>"
},
"name": "oc_delegate_parallel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | true (default): wait for the end and return the result. false: start in the background and return the session_id. | |
| tasks | Yes | ||
| detail | No | final = answer only; summary (default) = answer + tools + files; full = complete transcript of the turn. | |
| timeout_s | No | Max wait in seconds (default 900). Past it, the task keeps running and oc_wait picks it up. |