Remember what is open in the image card
save_selectionCaptures the active image and painted mask or selected regions from the image card, letting Tintloom target edits to the user's current selection.
Instructions
Used by the image card to say which image the user has open and what they painted on it. Not useful to call directly.
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": {
"image": "<image>"
},
"name": "save_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask | No | Base64 PNG. | |
| erase | No | ||
| image | Yes | ||
| regions | No |