List containers
list_containersList Docker containers, including stopped ones, with IDs, names, images, states, status, and ports; optionally filter by running state or label to get identifiers for other container actions.
Instructions
List Docker containers, running or not (all unless running is true): id, name, image, state, status and ports. Names and ids are what the other container tools take.
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 |
|---|---|---|---|
| label | No | Only those with this label, "key" or "key=value", e.g. the one run_container gave them | |
| running | No | Only the running ones |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containers | Yes |