# Review definition sharing

`application_definitions.sharing_review`

Preview sharing change effects and blockers without changing data. Use returned review_digest and expected_revision with application_definitions.change_sharing.

[Application definitions guide](https://docs.levr.ai/mcp/resources/application_definitions.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": {
    "definition_slug": {
      "description": "Application form definition returned by application_definitions.list. Prefix: appdef_.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "is_shared": {
      "type": "boolean"
    },
    "provider_slug": {
      "description": "Provider that owns the application form definition. Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "definition_slug",
    "is_shared"
  ],
  "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",
            "delete",
            "change_sharing"
          ],
          "type": "string"
        },
        "blockers": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "definition_name": {
          "type": "string"
        },
        "definition_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "effects": {
          "type": "string"
        },
        "expected_revision": {
          "type": "integer"
        },
        "review_digest": {
          "description": "SHA-256 fingerprint of the exact document content.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        "review_url": {
          "format": "uri",
          "type": "string"
        },
        "scale": {
          "additionalProperties": false,
          "properties": {
            "active_assignments": {
              "type": "integer"
            },
            "affected_providers": {
              "type": "integer"
            },
            "draft_blocks": {
              "type": "integer"
            },
            "published_versions": {
              "type": "integer"
            },
            "records_deleted": {
              "type": "integer"
            }
          },
          "required": [
            "draft_blocks",
            "published_versions",
            "active_assignments",
            "affected_providers",
            "records_deleted"
          ],
          "type": "object"
        }
      },
      "required": [
        "definition_slug",
        "definition_name",
        "action",
        "expected_revision",
        "review_digest",
        "effects",
        "scale",
        "blockers",
        "review_url"
      ],
      "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"
}
```
