Krita Set Canvas View
krita_set_canvas_viewSet zoom, rotation, mirror, or wrap-around on the active Krita canvas view. Only specified fields are changed; response includes resulting zoom and rotation.
Instructions
Control the active view's canvas: zoom level (1.0 = 100%), rotation degrees, mirror, wrap-around mode. Only provided fields change; returns the resulting zoom/rotation.
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": "krita_set_canvas_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zoom | No | ||
| mirror | No | ||
| rotation | No | ||
| wrap_around | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||