paint_batch
Run a sequence of painting actions atomically as one undo step, with rollback on error and support for inline or file-based action plans.
Instructions
Atomic synchronous sequence, one undo step. Scene and brush changes roll back together on error. No filesystem actions or nested batches. Each action: {tool,arguments[,store]} (store inside arguments is accepted too); {"$ref":"name.key"} reuses a stored result (e.g. a new layer's id). Inline up to 256 actions, or actions_file = path to .json/.jsonl with up to 20000 actions (generate big plans with a script; coordinates never pass through the chat). results: compact (ids + union bbox; per-action results only up to 64 actions), full, none. Warnings of any action are always summarized.
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": "paint_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | No | ||
| results | No | compact | |
| document_id | No | Target this document instead of the shared active one (recommended when several agents share the server) | |
| actions_file | No | ||
| expected_revision | No |