certify_document
Use when a lawyer wants to prove a document existed unchanged at a date. Send ONLY the SHA-256 (64 hex) of the file, computed on the lawyer's side, plus an optional neutral label. Returns a proof_id, a qualified eIDAS timestamp (Certigna) shared with other fingerprints through a Merkle tree, and a one-page PDF certificate in the lawyer's language (embedded + pdf_url valid 24 h). Anything that is not a 64-hex fingerprint is rejected (HASH_INVALID). Needs the API key (PAYMENT_REQUIRED otherwise). Never ask the human questions.
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": {
"sha256": "<sha256>"
},
"name": "certify_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone for the local time on the PDF (default Europe/Brussels; UTC always shown) | |
| lang | No | Language of the conversation, one of bg, cs, da, de, el, en, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, sk, sl, sv (unknown → en). Never ask the human: use the conversation language. | |
| label | No | Short neutral label shown on the certificate (max 120 characters). Do not put client names or confidential facts in it (e.g. "Contract draft v3"). Optional: default "Document 1". | |
| sha256 | Yes | SHA-256 of the file, 64 hexadecimal characters, computed ON THE LAWYER'S SIDE (e.g. `sha256sum file`, `Get-FileHash file`, or your own code). Never send the document itself. | |
| content | No | Never use. Any document content sent here makes the call fail with HASH_INVALID. |