update_enemy
Modify an existing RPG Maker MZ enemy's properties with a shallow merge. Preview changes via dryRun and flag missing battler images with warnings.
Instructions
Update an enemy's properties (shallow merge into the existing record). Returns { enemy, warnings? } — a battlerName not found in img/enemies (img/sv_enemies for a side-view project) is flagged warn-by-default.
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": {
"enemyId": "<enemyId>",
"updates": "<updates>"
},
"name": "update_enemy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| enemyId | Yes | The ID of the enemy to update | |
| updates | Yes | Object containing enemy properties to update |