update_script
Replace the source code and/or name of an existing RGSS script in an RPG Maker XP project by specifying its index.
Instructions
Replace an RGSS script's source code and/or 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": {
"index": "<index>"
},
"name": "update_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | New Ruby source code | |
| name | No | New script name | |
| index | Yes | Script index from get_scripts |