lattice_create_worker
Register a worker machine in Lattice by providing name, hostname, and optional labels for placement constraints. The machine needs the runner installed and a worker token to connect.
Instructions
Register a worker. The machine still needs the runner installed and a worker token before it connects
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>",
"hostname": "<hostname>"
},
"name": "lattice_create_worker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Worker name | |
| labels | No | JSON object string of labels used by placement constraints | |
| hostname | Yes | Hostname | |
| ip_address | No | IP address |