cfpb_complaint_trends
Time-series trends of complaint volume. lens=overview shows total complaints over time; lens=product shows by product; lens=company shows by company; lens=issue shows by issue. Interval can be month, quarter, or year.
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": {
"lens": "<lens>"
},
"name": "cfpb_complaint_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | Yes | Trend dimension | |
| product | No | Filter to a specific product | |
| sub_lens | No | Optional sub-dimension | |
| trend_depth | No | Top N to track (default 5) | |
| trend_interval | No | Time bucket size | |
| date_received_max | No | YYYY-MM-DD upper bound | |
| date_received_min | No | YYYY-MM-DD lower bound |