opencode_launch_ui
Launch opencode interactively - TUI, web UI, or background API server.
Instructions
Launch opencode interactively - TUI, web UI, or background API server.
Use this to open the opencode interface for manual work.
Return Format
{"success": bool, "message": str, "data": {"mode": str, "project": str}}
Examples
opencode_launch_ui(mode="web") opencode_launch_ui(mode="serve")
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_launch_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Launch mode: 'tui' (terminal UI), 'web' (browser), 'serve' (background API server) | tui |
| project | No | Project directory to open. Uses cwd if omitted. |