list_containers
List Docker/Portainer containers grouped by state in compact rows, optionally showing only running instances or targeting a configured host.
Instructions
[READ] List containers, bucketed by state, with compact rows.
Args: all_states: True (default) lists all containers; False only running. target: Target name from config; omit for the default.
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 |
|---|---|---|---|
| target | No | ||
| all_states | No |