Table row count
banana_table_rowcountGet the number of rows in any table of a Banana Accounting file to assess data size. Provide the table name and optional accounting document to receive the row count as text.
Instructions
Return the number of rows in a table as text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "banana_table_rowcount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Accounting document name as opened in Banana (e.g. "accounting.ac2"). Append "_p1", "_p2" for previous years. Defaults to BANANA_DEFAULT_DOC if set. | |
| table | Yes | Table name, e.g. "Accounts", "Transactions", "Budget", "FileInfo". |