build_screen_effect
Build RPG Maker MZ screen effect event commands for fade, tint, flash, and shake. Specify kind, duration, color, or power to get a command ready for insertion into events.
Instructions
Build a screen transition/effect event command for insertion via insert_event_commands: fadeout (221) / fadein (222) — no params; tint (223) & flash (224) — an [r,g,b,a] color over duration frames; shake (225) — power/speed over duration. wait holds the event until it finishes. Read-only: returns { command }.
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": {
"kind": "<kind>"
},
"name": "build_screen_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which screen effect to build | |
| wait | No | tint/flash/shake: hold the event until it finishes (default true) | |
| color | No | tint: [red,green,blue,gray] (−255…255); flash: [red,green,blue,intensity] (0…255) | |
| power | No | shake: strength 1–9 (default 5) | |
| speed | No | shake: speed 1–9 (default 5) | |
| indent | No | Indentation level (default 0) | |
| duration | No | tint/flash/shake: frames (default 60) |