opencode_tui_clear_prompt
Clear the current terminal UI prompt to reset input in OpenCode sessions, optionally targeting a specific project directory.
Instructions
Clear the current TUI prompt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "opencode_tui_clear_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory to target. Optional; defaults to the server default project. |