transform_layer
Scale a layer around its center, rotate it clockwise in degrees, and apply shear transformations to adjust artwork layers in Krita.
Instructions
Scale (about the layer centre), rotate (degrees, clockwise) and/or shear a layer.
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": "transform_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| scale_x | No | ||
| scale_y | No | ||
| rotate_degrees | No | ||
| shear_x_degrees | No | ||
| shear_y_degrees | No |