# change_revert

> Tusella MCP tool. Server `https://mcp.tusella.com/mcp`. Part of the [Tusella docs for AI agents](https://tusella.com/docs/); every tool in one list: [tools.md](https://tusella.com/docs/mcp/tools.md), [tools.json](https://tusella.com/docs/mcp/tools.json).

Undo a change by the recovery_ref its receipt returned, or the recovery_ref operation_read or operations_find shows for an applied operation.

- Title: Change revert
- Group: Find, read and edit listings
- Granted by scope: `listings:write`
- Team permission: `listing.edit` (a role that can edit listings)
- Effect: Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.
- Hints: writes · can overwrite existing values · idempotent
- May return an operation handle: follow it with `operation_read` until it finishes.
- Retry-safe: repeat the same `client_request_id` with the same arguments.
- HTML: https://tusella.com/docs/mcp/tools/change_revert/
- Markdown: https://tusella.com/docs/mcp/tools/change_revert.md

## Description

Undo a change by the recovery_ref its receipt returned, or the recovery_ref operation_read or operations_find shows for an applied operation. A single-listing change is undone at once and returns a receipt; an operation is rolled back by a new operation whose handle this returns, and a listing whose field changed again since is reported as blocked rather than overwritten. A recovery_ref that is unknown or already undone is refused with recovery_unavailable. Org-scoped.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `client_request_id` | `string` | yes | Stable replay identity for this call; repeat it to retry safely. |
| `recovery_ref` | `string` | yes | The recovery_ref a change's receipt, operation_read, or operations_find returned. |

## Example arguments

```json
{
  "client_request_id": "descriptor-example-1",
  "recovery_ref": "journal:00000000-0000-0000-0000-000000000001"
}
```

## Example result

```json
{
  "result": {
    "listing_id": "00000000-0000-0000-0000-000000000001",
    "field_change_ids": [
      "00000000-0000-0000-0000-000000000001"
    ],
    "action_result": {
      "schema_version": 1,
      "disposition": "committed",
      "change_report": null
    },
    "recovery": {
      "kind": "none"
    },
    "recovery_ref": null
  }
}
```

## Input schema

```json
{
  "properties": {
    "client_request_id": {
      "description": "Stable replay identity for this call; repeat it to retry safely.",
      "type": "string"
    },
    "recovery_ref": {
      "description": "The recovery_ref a change's receipt, operation_read, or operations_find returned.",
      "type": "string"
    }
  },
  "required": [
    "client_request_id",
    "recovery_ref"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "oneOf": [
    {
      "properties": {
        "action_result": {
          "properties": {
            "change_report": {
              "type": [
                "object",
                "null"
              ]
            },
            "disposition": {
              "enum": [
                "committed",
                "no_effect"
              ],
              "type": "string"
            },
            "schema_version": {
              "const": 1,
              "type": "integer"
            }
          },
          "required": [
            "schema_version",
            "disposition",
            "change_report"
          ],
          "type": "object"
        },
        "applied": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "change_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "completed_at": {
          "format": "date-time",
          "type": "string"
        },
        "field_change_ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "field_changes": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "after": {},
              "before": {},
              "display": {
                "additionalProperties": false,
                "properties": {
                  "after": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "before": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "before",
                  "after"
                ],
                "type": "object"
              },
              "field": {
                "type": "string"
              },
              "values_omitted": {
                "type": "boolean"
              }
            },
            "required": [
              "field",
              "before",
              "after",
              "display"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "listing": {
          "additionalProperties": false,
          "properties": {
            "changes_vs_etsy": {
              "type": [
                "string",
                "null"
              ]
            },
            "price_max": {
              "additionalProperties": false,
              "properties": {
                "amount": {
                  "type": "string"
                },
                "currency_code": {
                  "type": "string"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "price_min": {
              "additionalProperties": false,
              "properties": {
                "amount": {
                  "type": "string"
                },
                "currency_code": {
                  "type": "string"
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "price_varies": {
              "type": "boolean"
            },
            "status": {
              "type": "string"
            },
            "thumbnail": {
              "additionalProperties": false,
              "properties": {
                "expires_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "url",
                "expires_at"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "title": {
              "type": "string"
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "listing_id": {
          "type": "string"
        },
        "recovery": {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "ref",
                "inverse",
                "none"
              ],
              "type": "string"
            },
            "recovered_by": {
              "type": "string"
            },
            "ref": {
              "description": "Pass to change_revert to undo this change.",
              "type": "string"
            }
          },
          "required": [
            "kind"
          ],
          "type": "object"
        },
        "recovery_ref": {
          "type": [
            "string",
            "null"
          ]
        },
        "skipped": {
          "items": {
            "properties": {
              "field": {
                "type": "string"
              },
              "media_id": {
                "type": "string"
              },
              "skipped_reason": {
                "type": "string"
              }
            },
            "required": [
              "field",
              "skipped_reason"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "listing_id",
        "field_change_ids",
        "action_result",
        "recovery",
        "recovery_ref"
      ],
      "type": "object"
    },
    {
      "properties": {
        "handle_id": {
          "type": "string"
        },
        "review_required": {
          "type": "boolean"
        },
        "status": {
          "type": "string"
        },
        "summary": {
          "type": "object"
        }
      },
      "required": [
        "handle_id",
        "status"
      ],
      "type": "object"
    }
  ],
  "type": "object",
  "x-result-size-budget": {
    "description": "One write receipt, or one operation handle whose summary carries counts, a blocker histogram, and at most 10 sample rows.",
    "max_bytes": 16384,
    "strategy": "bounded-result"
  }
}
```

Generated from the application’s public MCP contract at commit `25de6b1bdce5` (2026-11-24).
