container_stats
Retrieve current CPU, memory, network, and process statistics for one Docker container or all running containers (up to 30) to assess live resource usage.
Instructions
CPU (% of one core), memory, network and processes right now: one container, or all running ones (at most 30).
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": "container_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | No | Container name (as in list_containers) or id |