Read a draft document
get_document_draftThe text of a draft rental document: as TipTap JSON (to edit) and as plain text (to read), with the number of values still missing. Only drafts (a published one is a PDF: get_document). Only for the owner or an editor of the property — it carries the parties' ID numbers. Requires the contracts feature.
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": {
"rentalId": "<rentalId>",
"documentId": "<documentId>"
},
"name": "get_document_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rentalId | Yes | The rental ID | |
| documentId | Yes | The document ID |