What the canvas shows
get-canvas-viewRetrieve the current canvas view details (active scene, zoom, position, Gamemaster targets) to enable camera panning, canvas pings, and target management in Foundry VTT.
Instructions
Whether the Gamemaster's browser has a drawn canvas, which scene it shows and which is active, the view position and zoom, and the Gamemaster's targets. Call it before pan-camera, ping-canvas or set-targets, which need the canvas.
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-canvas-view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||