generate_signed_url
Create secure, time-limited CDN URLs for images with HMAC-SHA256 signing and optional transformation parameters to control access and delivery.
Instructions
Generate an HMAC-SHA256 signed CDN URL. Requires signing to be enabled.
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": {
"path": "<path>"
},
"name": "generate_signed_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project ID (UUID). If omitted, uses SPRONTA_PROJECT_ID env var. | |
| path | Yes | Image path (e.g. /my-project/hero.jpg) | |
| params | No | Transform params as key-value strings (e.g. {w: '800'}) | |
| expiresIn | No | Expiration in seconds (60–604800) |