# Get a Client Intake Application original file

`client_intake_applications.get_answer_file_download`

Retrieve an original uploaded file from a Client Intake Application for inspection or document processing. List files first and pass its file id. Public callers receive a five-minute download: GET its URL with transfer_token as Bearer credential outside the model; no API key. Downloads recheck current access and file availability; unrelated answer edits do not invalidate them. Internal agents receive a staged_file handle for download_attachment into the sandbox. Keep transfer credentials private. This does not change or remove the application's file.

[Intake applications guide](https://docs.levr.ai/mcp/resources/client_intake_applications.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": {
    "application_id": {
      "description": "Copy client_intake_application.id from businesses.get; not the Business ID. Prefix: ciappl_.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "file_id": {
      "description": "Stable file id returned by the answer-file list or upload operation.",
      "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",
    "application_id",
    "file_id"
  ],
  "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": {
        "answers_revision": {
          "minimum": 0,
          "type": "integer"
        },
        "download": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "expires_in_seconds": {
                  "type": "integer"
                },
                "method": {
                  "const": "GET",
                  "type": "string"
                },
                "transfer_token": {
                  "type": "string"
                },
                "url": {
                  "format": "uri",
                  "type": "string"
                }
              },
              "required": [
                "url",
                "method",
                "transfer_token",
                "expires_in_seconds"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "file": {
          "additionalProperties": false,
          "properties": {
            "block_key": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "filename": {
              "type": "string"
            },
            "id": {
              "description": "Stable file id returned by the answer-file list or upload operation.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "item_id": {
              "anyOf": [
                {
                  "description": "Stable item_id returned by the repeatable-item list or create operation.",
                  "maxLength": 255,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Stable item_id returned by the repeatable-item list or create operation."
            },
            "object": {
              "const": "answer_file",
              "type": "string"
            },
            "size_bytes": {
              "minimum": 1,
              "type": "integer"
            },
            "uploaded_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "id",
            "object",
            "block_key",
            "item_id",
            "filename",
            "size_bytes",
            "uploaded_at"
          ],
          "type": "object"
        },
        "resource": {
          "additionalProperties": false,
          "properties": {
            "id": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "object": {
              "type": "string"
            }
          },
          "required": [
            "id",
            "object"
          ],
          "type": "object"
        },
        "staged_file": {
          "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": {
                  "pattern": "^[0-9a-f]{64}$",
                  "type": "string"
                },
                "size_bytes": {
                  "maximum": 26214400,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "handle",
                "digest",
                "filename",
                "size_bytes"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "resource",
        "file",
        "answers_revision",
        "download",
        "staged_file"
      ],
      "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"
}
```
