add_visual_effect
Injects impact bursts, slash arcs, or camera shake at specific timeline frames to add clear action emphasis to stick-figure animations.
Instructions
Injects dynamic action visual effects (impact bursts, sword slash arcs, screen shake) into specific timeline frames to create high-impact, production-level visuals.
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": {
"effectType": "<effectType>"
},
"name": "add_visual_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale multiplier of the effect (default: 1.0) | |
| targetX | No | Target canvas X coordinate for the effect | |
| targetY | No | Target canvas Y coordinate for the effect | |
| colorRgb | No | RGB color tuple [r, g, b] (default: bright yellow/white) | |
| intensity | No | Shake amplitude in pixels (used when effectType is "camera_shake", default: 8) | |
| effectType | Yes | Visual effect type: "impact_burst" (hit spark/burst), "slash_arc" (blade motion arc), or "camera_shake" (screen impact rumble) | |
| startFrame | No | Keyframe index to trigger effect (0-based, default: 0) | |
| durationFrames | No | How many frames the effect lasts (default: 4) |