Selectively repair a single Mirak storyboard scene
mirak_repair_sceneRevise a single scene (1 to 4) in a Miracle Ads (Mirak 2.0) storyboard while keeping the other three scenes byte-identical and re-running the automated compliance preflight QA audit (3 credits). Non-persistent read-only computation: does not modify or overwrite saved workspace projects — call mirak_save_project separately to save the updated draft. Use this to improve one specific scene instead of regenerating the full blueprint with mirak_plan_ad. Returns ok, repaired blueprint and unchanged-scene verification fields, qa scorecard, studio_url, and credits.
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": {
"brief": "<brief>",
"scene_index": "<scene_index>",
"action": "<action>"
},
"name": "mirak_repair_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brief | Yes | Base campaign brief used to reconstruct and revise the storyboard (required, minimum 5 characters). | |
| action | Yes | Targeted revision type: sharper_hook (stronger scroll-stop), clearer_demo_proof (clearer product proof), stronger_cta (clearer call-to-action), tighter_pacing (shorter beat timing), fix_compliance (remove policy/guarantee risks), or custom (apply custom_instruction). | |
| language | No | Output language for the revised scene and Studio link: en (default), ht (Haitian Creole), fr (French), or es (Spanish). | |
| scene_index | Yes | 1-based scene number to repair (1 to 4; defaults to 1 if out of range). | |
| custom_instruction | No | Optional custom directing revision applied to that single scene (recommended when action is custom). |