Get the certificate PDF
get_certificate_pdfRetrieve the signed certificate PDF for an attested work and save it locally. Pass the attestation result to mint a fresh PDF or a hash to recover an archived certificate.
Instructions
Get the signed certificate PDF for an attested work, saving it to a local file. Pass attestation (the exact object returned by attest_file) right after attesting, to mint a freshly-signed PDF. Pass only hash to recover an already-archived certificate instead (no credential needed).
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": {
"hash": "<hash>"
},
"name": "get_certificate_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | The SHA-256 fingerprint (64 hex chars). | |
| save_to | No | Local file path to save the PDF to (default: ./certificato_<hash12>.pdf). | |
| attestation | No | The full object returned by attest_file, to mint a new PDF. |