pdf_sign
op=verify: every signature in a PDF — signer and certificate, digest and cryptographic validity, whether the file was edited after signing (no trust store, chain of trust is not asserted). op=sign: add a PAdES-B (adbe.pkcs7.detached) signature from a PKCS#12 bundle; billed ×2. Unsigned PDF on verify returns signatures: []. Cost €0.005 per document, charged to the API key in Authorization: Bearer. Parameters — op: verify | sign; url: pdf url; p12_base64: PKCS#12 (.p12/.pfx) bundle, base64-encoded — required for op=sign; a multipart p12 alongside the pdf file is not supported, this API accepts one binary upload per call; password: PKCS#12 password (op=sign, empty if the bundle has none); reason: signing reason shown in the signature (op=sign, optional); location: signer location (op=sign, optional); contact: contact info (op=sign, optional).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pdf_sign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| url | No | ||
| reason | No | ||
| contact | No | ||
| location | No | ||
| password | No | ||
| p12_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |