download_document
Get a time-limited, pre-signed URL to download a signed PDF or uploaded source file by document ID. Fetch the file bytes directly from the URL; use get_evidence_bundle for verifiable evidence.
Instructions
Get a time-limited download URL for a document (e.g. the executed/signed PDF or an uploaded source file). Returns the document name and a pre-signed downloadUrl valid for a limited window (expiresIn seconds) — fetch the bytes from that URL directly; it carries its own auth and does not need the API key. Pass a document ID from upload_document or from an envelope's documents[] (see get_envelope). This is the PDF alone, with no audit trail and no signed manifest, so it is not the verifiable evidence: for that, use get_evidence_bundle. Requires the documents:read scope on your API key.
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": "download_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document ID (from upload_document, or from documents[].id on a get_envelope / list_envelopes result) |