search_entity_with_tag
Search for New Relic entities using tags like environment, team, or service name. Filter by tag key-value pairs or use NerdGraph query syntax to locate specific resources.
Instructions
Search for NewRelic entities using tags and NerdGraph query syntax. Use this to find entities by environment, team, service name, or any custom tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Full NerdGraph entity search query (e.g., "domain = 'APM' AND type = 'APPLICATION'"). If provided, tagKey/tagValue are ignored. | |
| tagKey | No | Tag key to search for (e.g., 'environment', 'team'). Used when query is not provided. | |
| tagValue | No | Tag value to match (e.g., 'production'). If omitted, matches any value for tagKey. | |
| additionalFilters | No | Additional query filters to combine with tag search (e.g., "domain = 'APM'") | |
| maxResults | No | Maximum number of results to return (default: 100, max: 500) |