List Kubernetes Namespaces
dynatrace_list_namespacesList Kubernetes namespaces in a Dynatrace tenant, optionally filtered by cluster, to inventory workloads before running log or metric queries.
Instructions
List namespaces in this tenant, optionally filtered by cluster.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dynatrace_list_namespaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: now or ISO-8601 | |
| from | No | Start: now-30m or ISO-8601 | |
| around | No | Pivot timestamp for a window | |
| window | No | Half-window around pivot, e.g. 2m | |
| cluster | No | Dynatrace k8s.cluster.name. Discover with dynatrace_list_clusters; do not assume a cluster. | |
| endDate | No | Calendar end YYYY-MM-DD (UTC day) | |
| startDate | No | Calendar start YYYY-MM-DD (UTC day) | |
| connection | No | Named connection from env (default, optional stage/prod aliases, or a DYNATRACE_CONNECTIONS key) | |
| allowLongRange | No | Allow ranges longer than the default cap |