inspect_container
Inspect a Docker container by name or ID to get state, restart policy, OOM kills, health checks, limits, mounts, and networks—excluding environment variables.
Instructions
State, exit code, OOM kill, restart count and policy, health check, limits, log driver, mounts and networks of one container. Never its environment variables.
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": "inspect_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | Container name (as in list_containers) or id |