set_variable_name
Rename a game variable by providing its ID and a new name. This updates the variable in the RPG Maker MZ project.
Instructions
Set a variable name
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": {
"variableId": "<variableId>",
"name": "<name>"
},
"name": "set_variable_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| variableId | Yes |