ingest_visual_qa_fix
Validate and apply client-generated visual QA fixes to a slide after preparation, then save the patch and re-render HTML to restore missing images or slide types for verification.
Instructions
Ingests the client-generated fix: validate, save, re-render HTML.
Call AFTER prepare_visual_qa_fix. Restores images/slide_type the LLM can't produce. Re-run capture → analysis on this slide to verify (up to max_iterations).
Args: project_id: Target project ID (required). slide_index: 1-based slide position. fix_json: The visual patch JSON generated by the client. fix_context: Opaque context returned by prepare_visual_qa_fix.
Returns: JSON with status ("fixed" | "unfixed" | "unresolved"), slide_html_path.
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>",
"fix_json": "<fix_json>",
"fix_context": "<fix_context>"
},
"name": "ingest_visual_qa_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix_json | Yes | ||
| project_id | Yes | ||
| fix_context | Yes | ||
| slide_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |