gimp_add_layer_from_file
Insert an image file as a new GIMP layer, centered by default, with optional x/y placement and width/height scaling.
Instructions
Inserta otra imagen (logo, foto...) como capa nueva. Sin x/y queda centrada. width/height opcionales para escalarla (si das uno, mantiene proporción).
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": {
"path": "<path>"
},
"name": "gimp_add_layer_from_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| path | Yes | ||
| width | No | ||
| height | No | ||
| image_id | No | ||
| position | No |