Analyze P&L Trend
analyze_pl_trendDefault P&L / Profit and Loss / T12 view — runs the 12-month recap report (ProfitLossRecapMonth, report 45) and returns computed text, not a file.
Covers general P&L requests: "show me a P&L", "give me the profit and
loss", "T12 for SCE", "trailing 12-month financials", "how has NOI
moved", "which month did expenses spike". Single-period line-item
detail is in analyze_financials and a single aggregate NOI number
is in analyze_noi.
File downloads (PDF / Excel / XLSX) of the P&L come from
run_report(report_id=45, format='pdf'|'xlsx', ...): Rent Manager
produces the formatted file natively and a signed URL is returned.
This tool returns numbers only.
Output: a single COMBINED Income / Expenses / NOI series with one
column per month over the requested range (all requested parks rolled
into one statement, the way Rent Manager shows it natively), plus the
list of parks included. Issues one RM call regardless of park count.
To see a single park, scope with portfolio or property_ids.
Args: portfolio: Portfolio name or 3-letter prefix. property_ids: Comma-separated property IDs. start_date: MM/DD/YYYY. Defaults to Jan 1 of current year. end_date: MM/DD/YYYY. Defaults to today.
``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": "analyze_pl_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| location | No | ||
| portfolio | No | ||
| start_date | No | ||
| property_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |