# Read application template PDF

`matchmaking_application_editor.get_attachment_download`

Read only the template attached to a file question, excluding submitted answer files. Copy stable_block_id and revisions from get_config into expected_live_revision and expected_draft_revision; use null when no draft exists. view defaults draft; use live to read the published template despite staged changes. Public calls return a five-minute download; GET with the returned Bearer credential outside the model. Internal editor calls stage the authorized file and return conversation-bound handle/digest/filename/size_bytes. Credentials expire and current access/state are rechecked at public redemption. Keep tokens and bytes out of tool arguments and logs. 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": {
    "expected_draft_revision": {
      "anyOf": [
        {
          "description": "Copy draft_revision from the same current action review.",
          "pattern": "^[0-9a-f]{64}$",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Copy draft_revision from the same current action review."
    },
    "expected_live_revision": {
      "description": "Copy live_revision from the current action review.",
      "pattern": "^[0-9a-f]{64}$",
      "type": "string"
    },
    "provider_slug": {
      "description": "Provider workspace returned by providers.list.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "stable_block_id": {
      "description": "Exact stable_block_id of a file block from get_config; signatures are unsupported.",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "view": {
      "default": "draft",
      "enum": [
        "live",
        "draft"
      ],
      "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",
    "stable_block_id",
    "expected_live_revision",
    "expected_draft_revision"
  ],
  "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": {
        "download": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "expires_in_seconds": {
                  "type": "integer"
                },
                "instructions": {
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "GET",
                    "POST"
                  ],
                  "type": "string"
                },
                "transfer_token": {
                  "type": "string"
                },
                "url": {
                  "format": "uri",
                  "type": "string"
                }
              },
              "required": [
                "url",
                "method",
                "transfer_token",
                "expires_in_seconds",
                "instructions"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "file_name": {
          "type": "string"
        },
        "staged_attachment": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "digest": {
                  "description": "SHA-256 fingerprint of the exact document content.",
                  "pattern": "^[0-9a-f]{64}$",
                  "type": "string"
                },
                "filename": {
                  "type": "string"
                },
                "handle": {
                  "maxLength": 64,
                  "minLength": 32,
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 26214400,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "handle",
                "digest",
                "filename",
                "size_bytes"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "file_name",
        "download",
        "staged_attachment"
      ],
      "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"
}
```
