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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection": "<collection>",
"recordId": "<recordId>",
"fileField": "<fileField>"
},
"name": "download_file"
}
}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 |