codex_restart_app_server
Restart the codex-app-server subprocess when guidance recommends it, only after ensuring no active work is present. Delegates to worker lane in client mode.
Instructions
Restart only the MCP-owned codex-app-server subprocess. Use this only when guidance recommends restart and active work is absent or explicitly handled. In client mode this delegates to the worker command lane.
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": "codex_restart_app_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_after_restart | No | ||
| timeout_seconds | No | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| agentGuidance | No | ||
| agentGuidanceText | No | ||
| recoveryAttemptState | No |