get_docker_container_stats
Retrieve live CPU, memory, network I/O, and PID stats for running Docker containers. Pass comma-separated container IDs/names or 'all' to sample them in one call.
Instructions
Returns live CPU, memory, network I/O, and PID stats for running containers. Params: container_ids comma-separated or 'all' (running only). Read-only, one-shot sample. Stats only exist for running containers; unknown or stopped ids error. Use container_ids 'all' to cover every running container in one call.
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": {
"container_ids": "<container_ids>"
},
"name": "get_docker_container_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container_ids | Yes | container name(s) or ID(s), comma-separated, or 'all' for all running containers |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| containers | Yes |