Krita Set Selection
krita_set_selectionScope edits to a chosen region by setting a rectangular selection or selecting the entire canvas in Krita.
Instructions
Set the global selection to a rectangle, or the whole canvas (all=True).
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": "krita_set_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| all | No | ||
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||