config_inspect
Retrieve a Docker swarm config's complete details and base64-encoded data by ID or name. Use this to inspect a specific config's metadata and contents after creation.
Instructions
Get a swarm config's full inspect payload by id or name.
Requires a swarm manager. Unlike a secret, a config's payload IS readable after creation:
Spec.Data in the result holds the base64-encoded contents. Use config_list to enumerate
configs; use this to read one config's contents and metadata.
Returns: dict: The config's full document (ID, CreatedAt, UpdatedAt, Spec{Name, Labels, Data base64})
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id_or_name": "<id_or_name>"
},
"name": "config_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |