comfy_restart
Safely restart a local ComfyUI instance via Manager V2, validating the instance before restart and avoiding port 8188 conflicts.
Instructions
Safely restart the selected local instance through Manager V2.
First call comfy_instance_doctor and pass back either its
instance_id or listener PID. The selector is checked immediately before
the mutation. Desktop/Manager V2 is used when available; ComfyPilot never
falls back to launching a competing server on port 8188.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| expected_pid | No | ||
| timeout_seconds | No | ||
| wait_for_health | No | ||
| expected_instance_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |