add_fill
Fill the entire canvas with a solid color or linear/radial gradient; set the layer index to use it as a background.
Instructions
Full-canvas fill: solid, linear gradient (angle 90 = left->right, 180 = top->bottom) or radial (center cx, cy as fractions). index=0 puts it at the bottom (a background).
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": "add_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | No | ||
| cy | No | ||
| kind | No | solid | |
| name | No | ||
| angle | No | ||
| color | No | #000000 | |
| index | No | ||
| color2 | No | #ffffff | |
| project | No |