Get the signed contract PDF (base64)
contract_pdfGet the signed contract PDF as a base64-encoded download. PDF includes the contract, signature certificate, and any signed amendments. Returns { filename, contentType, base64 }. Errors with conflict:contract_not_signed if the parent contract has not been signed yet.
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": {
"contractId": "<contractId>"
},
"name": "contract_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractId | Yes | signed contract id (parent or amendment) to render as PDF |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |