lattice_create_stack
Create an empty stack to organize containers. Add containers individually or import from Docker Compose YAML.
Instructions
Create an empty stack. Add containers with lattice_create_container, or use lattice_import_compose to create one from compose YAML
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>"
},
"name": "lattice_create_stack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stack name | |
| env_vars | No | Stack-level env vars as a JSON object string | |
| worker_id | No | Worker to pin the stack to | |
| auto_deploy | No | Redeploy automatically when a new image is pushed | |
| description | No | Description | |
| deployment_strategy | No | Deployment strategy, e.g. 'rolling', 'recreate' |