opencode_tui_submit_prompt
Submit the current prompt in OpenCode's TUI to trigger coding actions, equivalent to pressing Enter. Optionally target a specific project directory.
Instructions
Submit the current prompt in the TUI (equivalent to pressing Enter)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Absolute path to the project directory. When provided, the request targets that project. If omitted, the OpenCode server uses its own working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |