# Review application form draft undo

`matchmaking_application_editor.review_undo`

Review reversing your Portal's latest reversible draft structure edit. This does not publish, notify participants or restore deleted answers. Review these effects before calling undo with the returned live_revision, draft_revision and review_digest. This toolset requires a specific grant and is not assigned by default; request access through Support. Saved drafts and published question changes can mark earlier matching results as out of date. These tools do not rerun matching, contact recipients or create Deals.

[Matchmaking criteria editor guide](https://docs.staging.levr.ai/mcp/resources/matchmaking_application_editor.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: read. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "provider_slug": {
      "description": "Provider workspace returned by providers.list.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "workspace_slug": {
      "description": "Matching workspace from projects.list or projects.get; use workspace_slug, not the Project id.",
      "maxLength": 32,
      "minLength": 1,
      "pattern": "^mmw_[a-z0-9]+$",
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "workspace_slug"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "action": {
          "enum": [
            "undo",
            "reset"
          ],
          "type": "string"
        },
        "blockers": {
          "items": {
            "maxLength": 1000,
            "type": "string"
          },
          "maxItems": 1,
          "type": "array"
        },
        "can_apply": {
          "type": "boolean"
        },
        "change_summary": {
          "additionalProperties": false,
          "properties": {
            "block_add_count": {
              "minimum": 0,
              "type": "integer"
            },
            "block_remove_count": {
              "minimum": 0,
              "type": "integer"
            },
            "block_update_count": {
              "minimum": 0,
              "type": "integer"
            },
            "section_add_count": {
              "minimum": 0,
              "type": "integer"
            },
            "section_remove_count": {
              "minimum": 0,
              "type": "integer"
            },
            "section_update_count": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "section_add_count",
            "section_remove_count",
            "section_update_count",
            "block_add_count",
            "block_remove_count",
            "block_update_count"
          ],
          "type": "object"
        },
        "draft_revision": {
          "description": "SHA-256 fingerprint of the exact document content.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "effects": {
          "items": {
            "maxLength": 1000,
            "type": "string"
          },
          "maxItems": 5,
          "type": "array"
        },
        "live_revision": {
          "description": "SHA-256 fingerprint of the exact document content.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "provider_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "review_digest": {
          "description": "SHA-256 fingerprint of the exact document content.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "runtime_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "staged_attachment_count": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "runtime_slug",
        "provider_slug",
        "action",
        "live_revision",
        "draft_revision",
        "review_digest",
        "can_apply",
        "blockers",
        "effects",
        "staged_attachment_count",
        "change_summary"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```
