Run Report
run_reportDownload any Rent Manager report.
format defaults to pdf. Available formats: pdf, xls,
xlsx, excel (alias → xls), spreadsheet (alias → xls),
csv, json, txt, html, xml. Rent Manager renders xls
with better formatting (column widths, headers, group totals) than xlsx.
Output by format:
• csv / json / txt / html / xml — small files (≤1 MiB) are
inlined in the response in addition to being saved.
• pdf / xlsx / xls — saved to the per-tenant file store and
returned as a signed /files/<id>?sig=... URL.
The analyze_* wrappers return computed answers directly and are
faster than raw reports; analyze_pl_trend runs the 12-month recap
report, the default P&L / Profit and Loss / T12 view.
Custom ReportWriter reports: set report_writer=True to download a
custom report from RM's ReportWriter (the IDs shown as kind "rw" in
list_reports(live=True)). These live in a separate ID namespace that
collides with the canned reports, so the flag is required to disambiguate.
They carry their own saved filters and run portfolio-wide; pass any ad-hoc
parameters via extra_params. (The start_date/end_date/
property_id/portfolio scoping args do NOT apply to ReportWriter
reports.)
``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": "run_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| combined | No | ||
| end_date | No | ||
| location | No | ||
| portfolio | No | ||
| report_id | No | ||
| start_date | No | ||
| property_id | No | ||
| report_name | No | ||
| extra_params | No | ||
| property_ids | No | ||
| report_writer | No |