Get Contract
get_contractRender a booking's contract. format=html (default) returns HTML; format=pdf returns the PDF base64-encoded. Optional template_id.
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": {
"id": "<id>"
},
"name": "get_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The record's numeric id, from the matching list/get/search tool. | |
| format | No | ||
| template_id | No | A template's id (from the matching list tool). |