get_container_stats
Retrieve live resource usage statistics for a Docker container, including CPU, memory, and network metrics.
Instructions
Get live resource usage stats for a container. NOTE: The Arcane API may not expose a stats endpoint. If 404 is returned, use SSH to the Docker host as workaround.
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": "get_container_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | No | 0 | |
| agent_token | No | ||
| container_id | Yes |