get_file
Retrieve any object from Cloudflare R2 storage by its key, obtaining a download URL or saving the file directly to a local path.
Instructions
Get/download an object from R2 by key. Returns downloadUrl (public CDN or presigned). Optionally saves to a local filePath on the MCP host. Global R2_KEY_PREFIX is applied if configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Object key in the bucket (e.g. vitalo/2.1.0/app-release.apk) | |
| filePath | No | Absolute local path to save the file. If omitted, only returns URLs and metadata. |