fix_comfyui_api_prompt_error
Diagnose a ComfyUI API-prompt (/prompt) execution error and return the verified fix with corrected JSON. Use when a workflow submitted via the API fails at queue time with missing/invalid input errors or node type mismatches. Do NOT use for drag-and-drop UI workflow issues — API prompts only. Costs $0.005 per call, paid in USDC on Base via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "fix_comfyui_api_prompt_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Your error message, question, or topic. |