List GL Accounts
list_gl_accountsList the Rent Manager chart of accounts (GL accounts), grouped by type.
Use this to answer "what GL accounts / chart of accounts do we have", to
find an account's number/ID, or before drilling into financials. Filter by
account_type (e.g. "income", "expense") or name_filter (matches
name or account number); active_only hides inactive accounts.
``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_gl_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | ||
| active_only | No | ||
| name_filter | No | ||
| account_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |