List Metrics
list_metricsShortcut to list all available metric names for a fully-specified location, supply all five levels (theme, sub_theme, topic, geography_type, geography) at once rather than calling navigate iteratively. Returns metric names like "COVID-19_cases_casesByDay" ready to pass to get_metric_data.(theme, sub_theme, topic, geography_type, geography), without walking each level. Returns metric names like "COVID-19_cases_casesByDay" or "COVID-19_deaths_ONSByDay" ready to pass to get_metric_data.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"theme": "infectious_disease",
"topic": "COVID-19",
"geography": "England",
"sub_theme": "respiratory",
"geography_type": "Nation"
},
"name": "list_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | e.g. "infectious_disease". | |
| topic | Yes | e.g. "COVID-19". | |
| geography | Yes | e.g. "England". | |
| sub_theme | Yes | e.g. "respiratory". | |
| geography_type | Yes | e.g. "Nation". |