opencode_message_send_async
Send a prompt to an OpenCode session asynchronously and return its message ID for opencode_wait. If async support is unavailable, it falls back to a blocking prompt call.
Instructions
Send a prompt asynchronously and return its messageId for opencode_wait. NOTE: 2.0.30 lacks /prompt_async; this falls back to a synchronous /prompt call which may block until the model replies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| agent | No | ||
| format | No | ||
| modelID | No | ||
| variant | No | ||
| directory | No | Project directory to target. Optional; defaults to the server default project. | |
| sessionId | Yes | ||
| providerID | No |