Name a switch
set_switch_nameSet a game switch's editor name in System.json by ID, automatically expanding the switches array when the ID exceeds its current size.
Instructions
Set the editor name of a game switch in System.json (e.g. switch 5 = 'Opened Chest'). The switches 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_switch_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Switch id (1-based) | |
| name | Yes |