# Read deal package application and email setup

`deal_packages.get_setup`

Read current draft application selection and email delivery before editing setup. This describes configuration, not successful delivery or application completion.

[Deal packages guide](https://docs.levr.ai/mcp/resources/deal_packages.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": {
    "package_slug": {
      "description": "Copy package_slug from deal_packages.list. Prefix: pkg_.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "description": "Copy provider_slug from providers.list; named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "package_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": {
        "client_confirmation": {
          "description": "Acknowledgement shown immediately after the applicant submits in Levr. Not an email, submission method, or instructions for applying.",
          "type": "string"
        },
        "definition_slug": {
          "anyOf": [
            {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_steps": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "is_enabled": {
                "type": "boolean"
              },
              "method_type": {
                "description": "sharespace is email delivery; only this method accepts recipients.",
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "recipients": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "email": {
                      "format": "email",
                      "maxLength": 254,
                      "type": "string"
                    },
                    "send_application_link": {
                      "type": "boolean"
                    },
                    "send_attachments": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "email",
                    "send_application_link",
                    "send_attachments"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "step_key": {
                "type": "string"
              }
            },
            "required": [
              "step_key",
              "name",
              "method_type",
              "is_enabled",
              "recipients"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "effective_definition_slug": {
          "anyOf": [
            {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "package_slug": {
          "description": "Stable public identifier for the referenced resource.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "revision": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "package_slug",
        "revision",
        "definition_slug",
        "effective_definition_slug",
        "client_confirmation",
        "delivery_steps"
      ],
      "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"
}
```
