cfpb_complaint_aggregations
Aggregate complaint counts by a single facet (product, issue, company, state, company_response, or submitted_via). Useful for ranking companies by complaint volume or finding the most common issue categories.
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": {
"facet": "<facet>"
},
"name": "cfpb_complaint_aggregations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| facet | Yes | Field to aggregate by | |
| company | No | Optional company filter |