get_progress
Check how far a ComfyUI generation has progressed by reporting step, percentage, elapsed time, and ETA. Use silent_for_s to distinguish active work from a stalled run before deciding to interrupt.
Instructions
Report how far a run has got: step, percent, elapsed time and an ETA.
A generation takes minutes, and nothing about a long silence distinguishes real
work from a hang - so check here instead of guessing. silent_for_s is the
telling number: it stays small while the job advances, and only a large and
growing one means something is actually wrong. Loading a model produces no steps
for a minute or more, which is normal and shows up as working.
Interrupting and re-running costs more than waiting: the models are already resident and a re-run pays for them again.
Args: prompt_id: which run to report on. Defaults to the most recent one.
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": "get_progress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||