gimp_new_layer
Create a new layer or layer group in GIMP, set fill, position, opacity, and parent group to organize or build up an image composition.
Instructions
Crea una capa (o un grupo de capas si group=True). fill: 'transparent' o un color. position 0 = arriba del todo. parent_id: grupo donde meterla.
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": "gimp_new_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| fill | No | transparent | |
| mode | No | normal | |
| name | No | Capa | |
| group | No | ||
| width | No | ||
| height | No | ||
| opacity | No | ||
| image_id | No | ||
| position | No | ||
| parent_id | No |