dynatrace_managed_discover_entities
Discover entities in Dynatrace Managed using an entity selector with exactly one type. Filter by tags, zones, and timeframes to retrieve properties, management zones, and relationship counts for topology analysis.
Instructions
Discover entities in the Managed cluster using EntitySelector syntax. REQUIRED: Must specify entitySelector with exactly ONE entity type only. Results include entity properties, tags, management zones, and relationship counts for comprehensive topology analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time for entity observation timeframe (ISO format or relative like "now") | |
| from | No | Start time for entity observation timeframe (ISO format or relative like "now-3d") | |
| sort | No | Sort order for entities. Use "name" for ascending, "-name" for descending by display name. | |
| limit | No | Maximum number of entities to return. Use this when user specifies a count (e.g., "first 10 entities" → limit: 10). If not specified, returns up to API limit: 10. Cannot exceed 50 | |
| mzSelector | No | Optional management zone selector to further scope the query. Use mzId(123,456) for zone IDs or mzName("Bookstore-FS","Stocks") for zone names. Can combine: mzId(123),mzName("Production"). Works alongside entitySelector. | |
| entitySelector | Yes | Entity selector to filter the entities. CRITICAL: Must include exactly ONE entity type like type("SERVICE") - multiple types NOT supported. Examples: type("SERVICE"), entityId("ID1"), entityName.contains("name"), entityName.equals("exact"), tag("key:value"), mzName("zone"), healthState("HEALTHY"). | |
| environment_alias | Yes | Specify which environment to be queried, by supplying the environment alias as returned by get_environments_info. Can use `ALL_ENVIRONMENTS` to retrieve data from all environments in one request to MCP. |