canvas-pan
Pan and/or zoom the canvas (canvas.animatePan) for everyone's view, in scene pixels, not grid squares. All fields optional: omit x/y to keep the centre, scale to keep the zoom. journalId pans to that journal's map note instead (bridge module 8.19.0+). canvas-ping draws attention to a spot instead.
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": "canvas-pan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Scene-pixel X to centre on. Omit to keep current. | |
| y | No | Scene-pixel Y to centre on. Omit to keep current. | |
| scale | No | Zoom level (1 = 100%). Omit to keep current. | |
| duration | No | Animation duration in ms. | |
| journalId | No | Journal ID (from journal-list) whose map note on the viewed scene to pan to |