Edit design atomically
edit_design_batchApply up to 100 focused builder commands with one revision check and one save. Any invalid command discards all commands. Discover actions by domain. Scope and targets use stable IDs. Deleting an agent file with deleteAgentFile, whole-project reset/resetAllTemplates and source resetThemeBlock/resetPattern require the user’s affirmative confirmation for this named project and command.confirmed true. Targeted resetBlockFields/resetSectionFields clear inheritance overrides without extra confirmation. No automatic conflict retry.
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": {
"projectId": "<projectId>",
"expectedRevision": "<expectedRevision>",
"commands": "<commands>"
},
"name": "edit_design_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | ||
| projectId | Yes | ||
| expectedRevision | Yes |