list_containers
View running containers and optionally include stopped ones to check current container status.
Instructions
View running (and optionally stopped) containers.
In Apple Container 1.7.1+, `container list` hides `cluster` nodes even with `--all`
(and `-a`), and `start`, `stop`, `kill`, and `delete` report named cluster nodes as
not found. `inspect`, `logs`, `exec`, `stats`, and `clean` continue to work on named
cluster nodes; manage cluster lifecycle via the `container cluster` CLI plugin.
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": "list_containers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_stopped | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |