Get a document
get_documentOne document of a property or rental: its details, a download link valid for 15 minutes and, with includeContent, the file itself (the signed PDF for a signed contract).
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": {
"documentId": "<documentId>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rentalId | No | Or the rental it belongs to (contracts, inventories, receipts…) | |
| documentId | Yes | The document ID | |
| propertyId | No | The property the document belongs to (property documents: deeds, insurance, certificates…) | |
| includeContent | No | Also return the file (up to 5 MB) to read it |