prepare_visual_qa_analysis
Prepares the vision analysis task for a single captured slide by returning the system prompt, user prompt, response schema, and screenshot image paths, so you can analyze a slide against its spec before ingesting results.
Instructions
Prepares the vision analysis task for ONE captured slide. No LLM call.
Returns the system prompt, user prompt, response_schema, and images (the
screenshot path to read). Read the screenshot, analyze it against the spec,
generate the analysis JSON matching response_schema, then call
ingest_visual_qa_analysis. Analyze slides in parallel.
Args: project_id: Target project ID (required). slide_index: 1-based slide position. iteration: Iteration counter matching the capture (default 0). screenshot_path: Optional client-captured PNG path. When supplied, it is validated and used instead of requiring Playwright capture.
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>"
},
"name": "prepare_visual_qa_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iteration | No | ||
| project_id | Yes | ||
| slide_index | Yes | ||
| screenshot_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |