focus_element
Centers the camera on any map element by ID, including text, with optional zoom to inspect and verify specific details such as doors or walls.
Instructions
Center the camera on an element by id (works for any kind, including text).
zoom: optional Camera2D factor to apply (LARGER = zoomed OUT), landing on
the nearest Dungeondraft zoom level as in set_camera. Follow with
screenshot() to verify a specific element (e.g. a door cut into a wall).
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": "focus_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| zoom | No |