loki_list_containers
Lists durable container names actively logging in a time window, hiding ephemeral noise, to identify stable log sources.
Instructions
List durable container names actively logging in the lookback window.
Hides ephemeral noise — podman auto-names (adoring_neumann) and
hex-suffixed batch workers (transcode-ffmpeg-<hash>) number in the
thousands over 24h and would swamp the response. They remain queryable
via loki_query_range; use loki_list_label_values('container') for
the raw unfiltered list.
lookback: Duration (1h, 24h, 7d). Default 1h.
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": "loki_list_containers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookback | No | 1h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |