docker_inventory
List Docker volumes, networks, and Portainer stacks in a read-only inventory; pass a stack ID to retrieve that stack's compose file.
Instructions
Read-only lists: volumes, networks, or Portainer stacks (stacks need the Portainer backend). Pass stack_id with kind=stacks to get that stack's compose file.
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": "docker_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | volumes | |
| limit | No | ||
| offset | No | ||
| stack_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| items | No | ||
| total | No | ||
| backend | Yes | ||
| has_more | No | ||
| compose_file | No |