count_narratives
Count archived CFPB narratives matching a keyword search, optionally grouped by year, month, product, company, issue, or state. Only complaints with narratives are counted.
Instructions
Count how many archived narratives match a keyword search, optionally grouped by year, month, product, company, issue or state. Same search and filter arguments as search_narratives (without the slower issue/response filters). Use this for 'how many complaints mention X'. Counts only complaints that have a narrative (through 2026-08-14), not all complaints. Narrow with date, company or product when you can.
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": "count_narratives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| state | No | ||
| any_of | No | ||
| phrase | No | ||
| company | No | ||
| date_to | No | ||
| product | No | ||
| group_by | No | ||
| date_from | No | ||
| company_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |