Create or update a pool
upsert_poolWithout pool: creates one (name required, up to 10). With pool: changes only the fields given. Deleting a pool also removes its targets and the rules leading to it. Scope: network.write.
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": {
"lb": "<lb>"
},
"name": "upsert_pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lb | Yes | Load balancer id, as returned by list_load_balancers or create_load_balancer. | |
| name | No | Letters, digits, spaces, . _ -; unique in the load balancer. | |
| pool | No | Pool id, from get_load_balancer. | |
| protocol | No | http pools serve http/https listeners, tcp pools tcp listeners. Default http; cannot change once in use. | |
| algorithm | No | roundrobin (default) takes targets in turn, by weight; leastconn picks the one with the fewest open connections, for long-lived connections. | |
| send_proxy | No | tcp pools only: PROXY protocol v2 to the targets. | |
| health_path | No | e.g. /health | |
| health_type | No | http (http pools only): GET health_path, 2xx or 3xx is healthy. Default tcp. | |
| health_interval | No | Seconds between checks, default 5. |