create_layer
Add a new transparent layer to the top of an image, providing a blank canvas for drawing or compositing while preserving existing pixels.
Instructions
Create a transparent RGBA layer at the top of an image.
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": {
"image_id": "<image_id>",
"name": "<name>"
},
"name": "create_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| width | No | ||
| height | No | ||
| opacity | No | ||
| image_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||