OpenCode System
opencode_systemManage and monitor the opencode server environment: check health, list LLM providers, view project info, launch UI, probe MCP server liveness, and verify configuration drift.
Instructions
opencode server environment: health/status, providers, project, launch UI, MCP pulse, or config drift.
Return Format
{"success": bool, "message": str, "data": dict}
Examples
opencode_system(action="status") opencode_system(action="providers") opencode_system(action="launch_ui", mode="web")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Launch mode (launch_ui) | tui |
| action | Yes | status: health + startup probe. providers: LLM providers. project: current project. launch_ui: open opencode. mcp_pulse: probe all MCP servers for liveness. config_drift: check local MCP server paths exist on disk. | |
| project | No | Project directory (launch_ui) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||