download_file
Retrieve files stored in PocketBase records by specifying the collection, record ID, and file field name to access your database files.
Instructions
Download a file from a record in PocketBase
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | The name or ID of the collection | |
fileField | Yes | The name of the file field | |
recordId | Yes | The ID of the record containing the file |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "The name or ID of the collection",
"type": "string"
},
"fileField": {
"description": "The name of the file field",
"type": "string"
},
"recordId": {
"description": "The ID of the record containing the file",
"type": "string"
}
},
"required": [
"collection",
"recordId",
"fileField"
],
"type": "object"
}