download_document_file
Get a signed URL to download a vehicle compliance document PDF from hpt.su. Requires active subscription and authenticated user session.
Instructions
Issue a signed URL to download the document PDF from hpt.su.
Returns {download_url, file_name, kind, document_id}. The URL is
encrypted with the user_id behind the API key — opening it works only
if the user is signed in to hpt.su under the same account. The
dl_counter is decremented on the website at actual download time, not
here.
Requires an active subscription covering the document's kind or a stand-alone DOC_PURCHASE. On the free tier returns 403 with an upgrade prompt to https://hpt.su/pricing/.
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": {
"file_uid": "<file_uid>"
},
"name": "download_document_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_uid | Yes | DocumentFile UID (from list_document_files). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |