list_containers
Get a list of Docker containers with optional filters for stopped status, name, or label. Choose text or JSON output to view container details.
Instructions
List Docker containers with optional filters
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 |
|---|---|---|---|
| all | No | Include stopped containers | |
| format | No | Output format | text |
| name_filter | No | Filter by container name substring | |
| label_filter | No | Filter by label, e.g. 'app=web' |