Analyze Vendor Spend
analyze_vendor_spendVendor spend / AP outflows (PayablesByAccount, 183).
Per-property and per-vendor spend over a window. Defaults to the trailing 30 days. Surfaces top vendors by gross spend, per-property totals, and largest individual bills. VOIDs are excluded by default (set include_voids=True to net them in).
Slow for long date ranges (90+ days returns ~5800 rows / 30 days and can take 1-3 minutes); windows longer than the default 30 days or large portfolios are affected. Follow-up queries within 5 minutes are cached.
``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_vendor_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| end_date | No | ||
| location | No | ||
| portfolio | No | ||
| start_date | No | ||
| property_ids | No | ||
| include_voids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |