Get a download link
get_download_urlCreates a signed download link for one file of a product the signed-in customer owns (from list_purchases). The link is personal, works for at least 5 minutes (longer for large files, see expires_at) and counts toward the limit of 20 downloads per product per day. Requires signing in.
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": {
"product_id": "<product_id>"
},
"name": "get_download_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_index | No | ||
| product_id | Yes |