health_check
Run pre-flight diagnostics on a connected ComfyUI instance to check version, GPU and memory status, queue depth, model populations, and recent errors before dispatching a batch or troubleshooting failures.
Instructions
Pre-flight diagnostic for the connected ComfyUI: one call that aggregates the signals an agent should check before dispatching a batch. Reports ComfyUI version/Python/PyTorch, GPU name + VRAM free/total, system RAM free, queue depth (running + pending), per-category /models populations (catches empty dropdowns from a misconfigured extra_model_paths.yaml), and recent errors from /internal/logs. Read-only — no mutation. Use this when a job fails for an unexpected reason, before a long batch run, or to confirm a remote ComfyUI is healthy. Originally contributed by github.com/joaolvivas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_categories | No | Override the model categories to poll (defaults to checkpoints, diffusion_models, loras, vae, text_encoders, controlnet). | |
| recent_errors | No | How many recent error/traceback lines to include from /internal/logs (default 20, max 200). |