paint_history
Undo or redo complete atomic scene operations in Agent Paint, treating each batch as a single step. Reverts or reapplies changes using bounded in-memory history for a target document.
Instructions
Undo/redo complete atomic scene operations. A batch is one step. Bounded in-memory history; .apaint stores current scene, not undo buffers.
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| action | No | undo | |
| document_id | No | Target this document instead of the shared active one (recommended when several agents share the server) |