container_stats
Capture a one-time resource-usage snapshot for a container, returning CPU, memory, network, and pids stats from the Docker engine.
Instructions
Get one point-in-time resource-usage snapshot for a container (non-streaming).
Returns the raw engine stats payload; CPU percent must be computed from the delta between
cpu_stats and precpu_stats. For a pre-computed human-readable summary prefer the
docker-stats://{id_or_name} resource; for a process listing use container_top.
args: id_or_name - The container id or name returns: dict - Engine stats payload (read, cpu_stats, precpu_stats, memory_stats, networks, pids_stats, ...)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |