Get Application Metric Data
get_application_metric_dataRetrieve metric data for a New Relic application by specifying app ID, metric names, and an optional time range.
Instructions
Get metric data for an application
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": {
"app_id": "<app_id>",
"metric_names": "<metric_names>"
},
"name": "get_application_metric_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| to_time | No | ||
| from_time | No | ||
| metric_names | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |