fill_selection
Fill the active selection on a paint layer with a chosen color, or omit the color to erase the selected pixels. Use it to recolor or clear selected areas in Krita.
Instructions
Fill the current selection on a paint layer with a colour; omit colour to erase the selected pixels.
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": "fill_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| layer | No |