Household spending
economy_consumer_spend_getHousehold spending by country and category, from Eurostat.
Household final consumption by purpose (COICOP), per country and year, from Eurostat (nama_10_co3_p3). category: any of total, food, alcohol_tobacco, clothing, housing, furnishings, health, transport, communication, recreation, education, restaurants_hotels, miscellaneous (default all). unit: eur_millions (default), eur_per_capita or share_of_total. Up to 10 countries; EU27 is the EU total.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": {
"country_code": "<country_code>"
},
"name": "economy_consumer_spend_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| to_year | No | Last year. Defaults to the latest Eurostat has. | |
| category | No | Categories, comma-separated. | |
| from_year | No | First year. Defaults to five years ago. | |
| country_code | Yes | ISO 3166-1 alpha-2 codes, comma-separated (up to 10); EU27 for the European Union. |