get_result
Retrieve output files from a submitted ComfyUI prompt by polling its history. Blocks until completion, then returns filename, subfolder, and type for each output.
Instructions
Poll /history for a submitted prompt and return its output files (loop step 3: LOOK — part 1, find what was produced).
Blocks up to timeout_s for the run to finish. Returns each output's filename / subfolder / type — feed those to get_image to view the pixels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |