list_ledgers
Retrieve ledgers with opening and closing balances from TallyPrime books, filtered by group, name, or nonzero balances, to review account positions for a selected company.
Instructions
List ledgers with opening and closing balances.
group: restrict to ledgers under this group, including sub-groups (e.g. "Sundry Debtors", "Bank Accounts", "Indirect Expenses"). name_contains: case-insensitive filter on the ledger name. nonzero_only: drop ledgers whose closing balance is zero. limit: maximum ledgers to return (largest closing balances first). company: company name; defaults to the configured or active company.
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_ledgers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| limit | No | ||
| company | No | ||
| nonzero_only | No | ||
| name_contains | No |