set_fill
Change a layer's fill or gradient, setting color, angle, and center point for non-destructive image edits.
Instructions
Change a fill/gradient layer.
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": {
"layer": "<layer>"
},
"name": "set_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | No | ||
| cy | No | ||
| kind | No | ||
| angle | No | ||
| color | No | ||
| layer | Yes | ||
| color2 | No | ||
| project | No |