Revert change

ps_revert_change

Write · preview + approveBlock 1 · Content & SEODaily connector

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

NameTypeRequiredDescription
change_idintegernoID of a single change (ps_list_changes).
operation_idstring (32 hex)noOperation ID: reverts all its changes.
confirmbooleannofalse (default) returns a preview and saves nothing. true executes, only after the user approved the preview, together with change_token.
change_tokenstringwhen: confirm=trueToken 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

Last updated: 2026-10-03