GetAssetPublicUrl
Reverse lookup: finds if an asset is in ANY published collection and returns the public URL. Returns one of three states: (1) Asset IS published with public_url, collection_path, preset, published_at; (2) Asset NOT published but in collections: lists collection paths; (3) Asset NOT in any collection: empty collections array.
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": {
"asset_h": "<asset_h>"
},
"name": "GetAssetPublicUrl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_h | Yes | Asset hash (SHA-1, 40 hex chars) to look up | |
| tenant_id | No | Tenant UUID (optional - auto-injected from API key auth) |