validate_nrql_query
Validate an NRQL query against New Relic server guardrails without running it. Preview the query with auto-added SINCE and LIMIT clauses before execution.
Instructions
Check a NRQL query against the server guardrails without running it.
Returns the query as it would actually be sent, including the SINCE and LIMIT clauses that get appended automatically.
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": {
"query": "<query>"
},
"name": "validate_nrql_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | NRQL to check without executing it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |