opencode_tui_clear_prompt
Clear the current prompt text in the TUI to reset input and start fresh. Specify a project directory to target a specific project.
Instructions
Clear the current prompt text in the TUI
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 |