Apply Operations
apply_operationsExecute a batch of Aseprite operations in one call, creating a session if needed. Use confirmed=true for destructive changes and verbose=true for full execution plans.
Instructions
执行一批 Aseprite 操作(唯一变更入口)。
如果 session_id 为空且首个 op 是 create_sprite/open_sprite, 会先创建会话再执行。destructive op 需要 confirmed=true。
成功时 op_results 只保留服务器才知道的新信息(如 open_sprite 读到的实际尺寸), 回显入参的条目会被丢弃;要完整回显或 dry_run 的执行计划就用 verbose=true。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| atomic | No | ||
| dry_run | No | ||
| verbose | No | ||
| confirmed | No | ||
| session_id | No |