prepare_visual_qa_fix
Prepare a visual fix task for a slide with detected issues, returning the prompt, response schema, and screenshot so you can generate a minimal patch JSON.
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 minimal visual patch JSON, then call ingest_visual_qa_fix.
Args: project_id: Target project ID (required). slide_index: 1-based slide position. analysis_context: Opaque context returned by 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.
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": {
"project_id": "<project_id>",
"slide_index": "<slide_index>",
"analysis_context": "<analysis_context>"
},
"name": "prepare_visual_qa_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iteration | No | ||
| project_id | Yes | ||
| slide_index | Yes | ||
| analysis_context | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |