Get CFPB complaint trend aggregations
get_complaint_trendsCompute aggregate CFPB complaint counts grouped by product, issue, company, company response, timely response, and submission channel for any filter combination.
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": "get_complaint_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional free-text search term to scope aggregations. | |
| state | No | Optional 2-letter U.S. state code. | |
| company | No | Optional company name filter. | |
| product | No | Optional product category filter. | |
| date_received_max | No | Optional latest received date in YYYY-MM-DD format. | |
| date_received_min | No | Optional earliest received date in YYYY-MM-DD format. |