update_page_elements
Batch update multiple elements on a page by previewing a dry-run diff, then applying changes only after user confirmation.
Instructions
Batch update multiple elements in one page. Two-step process: STEP 1: Call with dry_run=true (default) → returns per-element diff. STEP 2: Show all diffs to the user and ask for confirmation. NEVER proceed without explicit user approval. STEP 3: Only after user confirms, call again with dry_run=false to apply. IMPORTANT: You MUST show the diff to the user and get explicit "yes/ok/confirm" before calling with dry_run=false. Skipping confirmation risks data loss. Same merge rules: style/config/specials = shallow merge, events/bindings = replace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview only (true) or apply changes (false). Defaults to confirm_mode setting. | |
| page_id | Yes | Page ID | |
| updates | Yes | Array of element updates |