Get a public web link
get_public_urlRetrieve the permanent public web link for a file stored in a public Supabase Storage bucket. Use this for openly shared assets like logos and campaign images.
Instructions
Get the permanent public web link for a file. This only works for PUBLIC buckets — files anyone can view. If the bucket is private, this explains that and points you to 'get_signed_url' for a temporary link instead. Use this for logos, campaign images, and other openly shared assets.
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": {
"bucket": "<bucket>",
"file_path": "<file_path>"
},
"name": "get_public_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | Yes | The bucket the file is in (must be a public bucket). | |
| file_path | Yes | Path to the file inside the bucket, e.g. 'logo.png' or 'logos/logo.png'. |