Validation message count
banana_messages_countGet the count of error messages in a Banana accounting file. Use recheck=true to run 'Recheck accounting' first for fresh results.
Instructions
Return the number of error messages in the accounting file as text. Set recheck=true to force a fresh 'Recheck accounting' first.
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": "banana_messages_count"
}
}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. | |
| recheck | No | When true, run 'Recheck accounting' first. |