@ in the personality prompt.
Prerequisites
- A New Relic account with a User Key (personal API key that starts with
NRAK-) from API keys - Your New Relic Account ID (from the URL or Administration → Access Management)
- Region: US (default) or EU
- An agent you can edit
Setup
- Open the agent → Toolkits → add New Relic.
- Create or select a connection and enter:
- API key — User Key (
NRAK-…) - Account ID
- Region — US or EU
- API key — User Key (
- Save, then
@-mention New Relic tools in the personality prompt when the agent should investigate metrics or alerts. - Test in Chat with a bounded NRQL query (include
SINCEandLIMIT).
Available tools
Use cases
- Investigate elevated error rates or latency with a focused NRQL query
- Find the entity GUID for an application, then pull alert status and relationships
- Summarize open incidents for an ops standup
- Explain which alert policy or condition applies to a service
Tips
- Prefer bounded NRQL (
SINCE,WHERE,LIMIT) so responses stay readable and fast. - Set the account ID on the connection so every tool call does not need it repeated.
- Use EU region when the New Relic organization is hosted in the EU.
- Treat User Keys like secrets — do not paste them into prompts, tickets, or screenshots.