lattice_create_worker_token
Creates a registration token for a worker, used by the runner to connect. The plaintext token is returned once and then masked in the server response.
Instructions
Create a registration token for a worker, used by the runner to connect. Plaintext is returned once and this server masks it to its first two characters — read the usable value from the Lattice UI, or set LATTICE_ALLOW_SECRET_VALUES=1
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": {
"id": "<id>",
"name": "<name>"
},
"name": "lattice_create_worker_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Worker ID | |
| name | Yes | Token name |