List Unit Files
list_unit_filesEvery file on one unit — History-note attachments and UDF files.
Use for "what documents do we have on lot 24", "is the title on file", "find the title for this home". Lists each file's FileID, where it is filed (History note or UDF), date, size when Rent Manager reports it, and name. Read-only. Download one with download_unit_attachment(unit_id=..., file_id=...). Photos on the unit's IMAGES tab are separate: use get_unit_images.
``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.
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": "list_unit_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_id | No | ||
| location | No | ||
| shortname | No | ||
| unit_name | No | ||
| property_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |