Name a variable
set_variable_nameAssign a descriptive name to any game variable in RPG Maker MV, with automatic array expansion for new IDs.
Instructions
Set the editor name of a game variable in System.json (e.g. variable 3 = 'Quest Progress'). The variables array grows if the id is beyond its current size.
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": {
"id": "<id>",
"name": "<name>"
},
"name": "set_variable_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variable id (1-based) | |
| name | Yes |