opencode_server_health
Check the underlying opencode serve process health, including PID, port, liveness, HTTP status, and automatic recovery. Use this to distinguish server health from individual session health.
Instructions
Reports the state of the underlying opencode serve process itself (pid, port, alive, HTTP-healthy, whether an automatic recovery is in progress) — distinct from opencode_health, which reports a single session's state.
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_server_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||