container_stats
Retrieve a read-only snapshot of CPU, memory, network, block I/O, and PID usage for a specified container, matching docker stats --no-stream for quick diagnostics.
Instructions
One sample of CPU, memory, network, block I/O and PIDs, like docker stats --no-stream. 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": {
"container": "<container>"
},
"name": "container_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||