Query Nrql
query_nrqlRun NRQL queries against New Relic monitoring data for a specified account to retrieve observability metrics, events, logs, and traces.
Instructions
Execute an NRQL query
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": {
"account_id": "<account_id>",
"nrql": "<nrql>"
},
"name": "query_nrql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nrql | Yes | ||
| account_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |