Download file
download_fileDownload a stored file from a PocketBase record to a local path on the server machine. Automatically handles protected files by requesting an access token.
Instructions
Download a record file to a local path on the machine running this MCP server. Handles protected files automatically by requesting an access token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thumb | No | Optional thumbnail size for images. | |
| destPath | Yes | Local filesystem path to write the downloaded file to. | |
| filename | Yes | Stored file name. | |
| recordId | Yes | Record id. | |
| protected | No | Set true for protected files (embeds a token). | |
| collection | Yes | Collection id or name. |