Wait for an opencode subagent
waitPause execution until a background opencode subagent finishes, then return its result; accepts agent IDs from before MCP server restarts.
Instructions
Wait for a background opencode subagent and return its result. agent_ids from before a restart of the MCP server still work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| timeout_seconds | No | Return early if still running |