lattice_get_worker_port_availability
View claimed host ports on a worker and get a free port suggestion before assigning a database to a specific port.
Instructions
List host ports already claimed on a worker (by databases and by stack containers) and get a free suggestion. Check this before pinning a database to a specific port
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": "lattice_get_worker_port_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Worker ID | |
| port | No | Check one specific port instead of listing all claims |