Revert change
ps_revert_change
Undoes a change Claude made.
Ask Claude
„Undo yesterday's meta description changes in Sofas.”
Example preview
Operation 9f3c... (12 changes, ps_update_product_content, 2026-10-02 15:12). Product 112 meta_description: current "Sofa Oslo 3-seat in grey ..." -> restored "" Warning: product 118 was edited in the back office after this change. Reverting overwrites that edit.
Technical details
Restores values from before a connector change: one change (change_id) or a whole batch operation (operation_id, from the write result or ps_list_changes). If the value has changed since then (for example someone edited it in the back office), the preview shows it, and reverting overwrites that later edit too. Does not revert theme files (ps_restore_file_backup) or URLs (ps_change_url).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| change_id | integer | no | ID of a single change (ps_list_changes). |
| operation_id | string (32 hex) | no | Operation ID: reverts all its changes. |
| confirm | boolean | no | false (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token. |
| change_token | string | when: confirm=true | Token from the preview. Required with confirm=true. Valid 30 minutes, single use, bound to the previewed arguments and data state. |
Limits
Give change_id or operation_id. Theme files and URLs are not reverted by this tool.
What you see before anything is saved
Claude first calls the tool without confirming it. The module returns a preview (current and new values) and a single-use token valid for 30 minutes. Claude shows you the preview and saves the change only after your yes.
Related tools
- List changes ps_list_changes
- Restore file backup ps_restore_file_backup
- Change URL (slug) ps_change_url
Last updated: 2026-10-03