update_class
Update a class's properties in RPG Maker MZ by merging changes for name, expParams, traits, or replacing learnings/params arrays. Warns when learned skills lack Add Skill Type traits.
Instructions
Update a class's properties (shallow merge into the existing record). Use for name, expParams, traits, or to replace the whole learnings/params arrays; for targeted edits prefer add_class_learning / set_class_param_curve. Warns when a learned skill's stypeId has no Add Skill Type trait ({ code: 41 }).
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": {
"classId": "<classId>",
"updates": "<updates>"
},
"name": "update_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| classId | Yes | The ID of the class to update | |
| updates | Yes | Object containing class properties to update |