layer_resize
Resize a layer's boundary without scaling its pixels. Adjust width, height, and offset while preserving original pixel data.
Instructions
Resize a layer boundary without scaling its pixels.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"layer_id": "<layer_id>",
"width": "<width>",
"height": "<height>"
},
"name": "layer_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| layer_id | Yes | ||
| offset_x | No | ||
| offset_y | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||