Set Canvas Scale
set_canvas_scaleSet the QGIS map canvas scale as a denominator (e.g. 50000 for 1:50000) and optionally apply rotation in degrees, so you can control map zoom and orientation before rendering.
Instructions
Set the map canvas scale and/or rotation. Provide scale as denominator (e.g. 50000 for 1:50000). Rotation in degrees (0-360).
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": "set_canvas_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| rotation | No |