refresh_document_url
Generate a new signed download URL for an existing document when the previous URL has expired, without consuming credits.
Instructions
Get a fresh signed download URL for an existing document. Does not consume credits. Useful when a previously generated document's URL has expired.
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": {
"documentId": "<documentId>"
},
"name": "refresh_document_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document UUID | |
| expiresIn | No | URL validity in seconds (1–86400, default 3600) |