count_records
Return the exact total count of records for a given model type in the account. Use this to answer "how many X do I have?" questions. Valid models: clients, products, invoices, proforma_invoices, receipts, orders, notices, payments, suppliers, supplier_invoices, supplier_orders, supplier_proforma_invoices, supplier_fiscal_receipts, simplified_supplier_invoices, stock_warehouses, stock_documents, stock_movements.
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": {
"model": "<model>"
},
"name": "count_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model to count. One of: clients, products, invoices, proforma_invoices, receipts, orders, notices, payments, suppliers, supplier_invoices, supplier_orders, supplier_proforma_invoices, supplier_fiscal_receipts, simplified_supplier_invoices, stock_warehouses, stock_documents, stock_movements |