set_level
Switches the active battle map floor using its level ID, not its index, so you can target the correct level after additions or deletions create gaps.
Instructions
Switch the active level (floor) by its id (see list_levels).
Use the `id` field, not `index`: they are different numbers. Adding a level
puts it at index 0 with a higher id, and deletions leave gaps in the ids.
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": "set_level"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |