Docker config create
docker_config_createCreate a Docker Swarm config from a config name and data to store configuration for services, with optional multi-context targeting.
Instructions
Create a swarm config (real configs.create).
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": {
"config_name": "<config_name>",
"data": "<data>"
},
"name": "docker_config_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| context | No | Named context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted. | |
| config_name | Yes |