lattice_import_compose
Import a Docker Compose YAML document to create a new container stack, with optional deployment strategy and worker pinning.
Instructions
Create a new stack from a docker-compose YAML document
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": {
"name": "<name>",
"compose_yaml": "<compose_yaml>"
},
"name": "lattice_import_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stack name | |
| worker_id | No | Worker to pin the stack to | |
| description | No | Description | |
| compose_yaml | Yes | Full compose YAML document | |
| deployment_strategy | No | Deployment strategy |