opencode_server_restart
Force a clean restart of the opencode server process to resolve wedged sessions or apply auth fixes.
Instructions
Forcibly restarts the underlying opencode serve process. Disruptive: every in-flight session on that process is interrupted. Normally unnecessary — the bridge restarts automatically when it detects a wedged or failed session — use this only to force a clean process explicitly (e.g. right after fixing provider auth).
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_restart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||