layer_fill
Fill a layer or its selected area with a CSS/Gegl color. With no selection, the entire layer is filled; the change is snapshot-undoable.
Instructions
Fill the selected area of a layer with a CSS/Gegl color; with no selection this fills the layer. Snapshot-undoable.
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>"
},
"name": "layer_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | black | |
| layer_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||