prepare_visual_qa_fix
Prepares a visual QA fix task by producing a prompt, schema, and images from detected issues. Call ingest_visual_qa_fix to apply the corrected slide.
Instructions
Prepares the fix task for a slide with detected issues. No LLM call.
Returns the fix prompt, response_schema, and images (the screenshot).
Generate the corrected full slide spec JSON, then call ingest_visual_qa_fix.
Args: project_id: Target project ID (required). slide_index: 1-based slide position. issues_json: JSON array of issues from ingest_visual_qa_analysis. iteration: Iteration counter matching the capture (default 0).
Returns: JSON with system_prompt, user_prompt, response_schema, images, project_id, slide_index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iteration | No | ||
| project_id | Yes | ||
| issues_json | Yes | ||
| slide_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |