container_stats
Take a one-shot CPU and memory usage snapshot for a container to diagnose resource pressure or performance issues; optionally target a configured environment.
Instructions
[READ] One-shot CPU%/memory% snapshot for a container (stream=false).
Args: container_id: Container id or name. target: Target name from config; omit for the default.
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_id": "<container_id>"
},
"name": "container_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| container_id | Yes |