Download Unit Attachment
download_unit_attachmentDownload and READ a file on a unit — a title, bill of sale, inspection.
Covers both places a unit's paperwork is filed in Rent Manager: the attachments on the unit's HISTORY notes and the unit's File-type UDFs. Name the unit by unit_id, or property (shortname/property_id) plus unit_name. Pick the file by file_id (from list_unit_files) or udf_name, a substring of the UDF name, file name or History note (e.g. "title"). When the unit holds exactly one file, neither is needed. PDF pages are rendered so the contents can be read, not just saved.
For unit PHOTOS — the IMAGES tab or image UDFs — use get_unit_images.
``location`` (optional): a single Rent Manager Location ID. Required
when the connection has several Locations (see ``list_locations``);
this tool never fans out across Locations.
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": "download_unit_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| file_id | No | ||
| save_as | No | ||
| unit_id | No | ||
| location | No | ||
| udf_name | No | ||
| as_images | No | ||
| max_pages | No | ||
| shortname | No | ||
| unit_name | No | ||
| property_id | No |