Resource timeline
resource_timelineShow the state-transition history of one Kubernetes resource over a time window (default 48h, max 14 days): when it was created/deleted, status changes, container restarts, scaling events, and spec changes, each timestamped. Use this to answer 'since when has this been failing/flapping', to find when a regression started, and to correlate with deploys (get_execution_trends) or events (get_events). Read-only.
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": {
"kind": "<kind>",
"name": "<name>",
"cluster_id": "<cluster_id>"
},
"name": "resource_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Kubernetes kind, e.g. Pod, Deployment, StatefulSet. | |
| name | Yes | Resource name. | |
| namespace | No | Namespace (optional for cluster-scoped kinds). | |
| cluster_id | Yes | Ankra cluster id (UUID) the call targets. Discover ids with list_clusters. | |
| window_hours | No | Look-back window in hours (default 48, max 336 = 14 days). |