stg_qa_gate
Decide an AI video render's outcome (PASS, NEEDS_VISUAL_REVIEW, RETRY, SWITCH_TO_FALLBACK, HALT) and log the attempt cost with concrete fixes.
Instructions
Decide what to do with a render: PASS / NEEDS_VISUAL_REVIEW / RETRY_SAME_MODEL / SWITCH_TO_FALLBACK / HALT /
HALT_BUDGET, with concrete fixes (negative-prompt terms, lower motion, new seed). technical_issues: the issues
array from stg_inspect_render. semantic_defects: what you saw in the review frames ("other" + notes if unlisted).
Records the attempt and its cost in a local project ledger. Free (needs a license, uses no checks).
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": "<project>",
"shot_id": "<shot_id>",
"model": "<model>",
"render_cost_usd": "<render_cost_usd>"
},
"name": "stg_qa_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| notes | No | ||
| stage | No | clip | |
| project | Yes | ||
| shot_id | Yes | ||
| fallback_model | No | ||
| render_cost_usd | Yes | ||
| semantic_defects | No | ||
| technical_issues | No | ||
| visually_reviewed | No | ||
| project_budget_usd | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |