get_camera
Reads the editor camera's world-center position, zoom factor, and viewport size so you can inspect the current view before adjusting it.
Instructions
Report the editor camera: world-center position [x,y], zoom, and viewport size.
zoom is a Camera2D factor where LARGER = zoomed OUT (zoom 0.5 magnifies 2x,
zoom 2.0 shows twice as much). Use this to read the view before adjusting it.
zoom_label is the real zoom as a percentage. If Dungeondraft's own zoom menu
shows something else (it opens maps at 80% labelled 100%), zoom_menu says
what the user sees there.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||