Create Swarm service
arcane_swarm_create_serviceCreate a Docker Swarm service in a specified environment, configuring image, replicas, ports, environment variables, networks, and command.
Instructions
Create a new Docker Swarm service
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": {
"environmentId": "<environmentId>",
"name": "<name>",
"image": "<image>"
},
"name": "arcane_swarm_create_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | Environment ID | |
| name | Yes | Service name | |
| image | Yes | Docker image | |
| replicas | No | Number of replicas | |
| ports | No | Port mappings | |
| env | No | Environment variables | |
| networks | No | Networks to attach | |
| command | No | Command to run |