get_document
Retrieve document metadata by ID and generate a temporary pre-signed download URL for secure access.
Instructions
Retrieve metadata for a stored PDFGate document by its ID.
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": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | The document ID | |
| preSignedUrlExpiresIn | No | Generate a fresh pre-signed download URL expiring in this many seconds (60–86400) |