Containers' resource usage
container_statsWhat containers consume right now, one snapshot (not a stream): CPU, memory (used, limit, percent), network and disk I/O, and processes. All running containers, or the ones named; a stopped one shows zeros.
Instructions
What containers consume right now, one snapshot (not a stream): CPU, memory (used, limit, percent), network and disk I/O, and processes. All running containers, or the ones named; a stopped one shows zeros. Use it to answer why the computer is slow or which container uses the most; container_processes shows what runs inside one.
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 |
|---|---|---|---|
| containers | No | Only these containers; all running ones when missing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containers | Yes |