vizcom_edit_region
Submit a masked local edit to a drawing using a PNG source and matching mask, where white selects edits and black protects areas. Consumes credits; poll the returned prompt ID for results.
Instructions
Submit one masked local edit. PNG source and mask must have identical dimensions; white selects edits and black protects. Model may still change unselected areas; review output. Consumes credits; poll returned prompt id.
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": {
"file": "<file>",
"maskFile": "<maskFile>",
"drawingId": "<drawingId>",
"prompt": "<prompt>"
},
"name": "vizcom_edit_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| prompt | Yes | ||
| maskFile | Yes | ||
| drawingId | Yes |