list_metrics
Search Dynatrace metric keys by free-text or selector, and retrieve their units and dimensions to identify metrics for queries, dashboards, or alerts.
Instructions
Find metric keys and their units and dimensions (GET /api/v2/metrics).
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": "list_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Free-text search in metric id/name, e.g. 'response time' | |
| page_size | No | ||
| next_page_key | No | nextPageKey from the previous page; other filters are ignored when set | |
| metric_selector | No | e.g. builtin:service.* |