stop_comfyui
Stop the local ComfyUI server started by comfy-cli. It safely shuts down only the recorded process, avoiding termination of unrelated ComfyUI instances.
Instructions
Stop the LOCAL ComfyUI server that comfy-cli launched.
Wraps comfy stop. Ownership semantics: comfy-cli only kills the pid it
recorded when IT launched the server (via launch_comfyui) — it cannot
stop a ComfyUI started by the desktop app or by hand, and raises
:class:ComfyCliError naming "no recorded server" instead of killing an
unrelated process.
Prints text with no JSON envelope; success returns a synthesized
{"ok": True, ...}.
One lifecycle call at a time — shares _LIFECYCLE_LOCK with
launch_comfyui/restart_comfyui; refused immediately if one of those
is in flight, rather than racing comfy-cli's single recorded pid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||