opencode_run
Send a task to an OpenCode session and wait for its correlated response. Returns a job snapshot; observation timeout leaves the remote session running.
Instructions
Send a task and wait for its correlated response. Returns a job snapshot; observation timeout leaves the remote session running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| title | No | ||
| format | No | ||
| prompt | Yes | ||
| modelID | No | ||
| variant | No | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| sessionId | No | ||
| providerID | No | ||
| maxDurationSeconds | No |