secret_list
List Docker swarm secrets' metadata, including names, IDs, labels, and timestamps, without exposing secret data. Filter results by id, name, or label to narrow down specific secrets.
Instructions
List swarm secrets' metadata; requires a swarm manager.
Like secret_inspect, results never include secret data, only metadata (name, id,
labels, timestamps). Valid filter keys: id, name, names, label (key or
key=value).
Args: filters: Narrow the list; omit to return every secret
Returns: list: One full secret document per secret (data-free)
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": "secret_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No |