auth_login
Initiates Comfy Cloud sign-in and returns an OAuth URL for the user to open in a browser, enabling authentication without blocking the process.
Instructions
Start Comfy Cloud sign-in; returns an OAuth URL for the USER to open.
Wraps comfy cloud login --no-browser; sign-in continues in the
background, so this call returns fast, not a ten-minute block. Give the
user login_url, let them finish in their browser, then confirm with
auth_status — the authority on credentials; this tool only reports how
the login process ended.
Returns while pending: {"status": "awaiting_browser", "login_url": ..., "expires_in_s": ..., "next": ...}. Calling again while pending returns
the SAME URL (only one flow at a time). After it finishes, reports
{"status": "completed"} or {"status": "failed", "error_code", "message"} once, then clears state. A child stuck past its deadline is
reaped automatically rather than stranding the tool on a dead URL.
Never returns secrets. Raises :class:ComfyCliError on failure before a
URL, or if a comfy-cli too old emits none — fallback: manual
comfy cloud login in a terminal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||