pb_files_get_url
Retrieve the URL of a file attached to a specific record in a collection. Specify the collection, record ID, and filename; optionally include thumbnail dimensions for resized images.
Instructions
Get the URL for a file attached to a record
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>",
"filename": "<filename>"
},
"name": "pb_files_get_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name or ID | |
| filename | Yes | File name | |
| recordId | Yes | Record ID that owns the file | |
| thumb | No | Thumbnail size (e.g., "100x100", "0x100") |