lb_create_forwarding_rule
Create a forwarding rule that routes incoming traffic from a specified frontend protocol and port to a defined backend protocol and port on a load balancer.
Instructions
Create a forwarding rule for a load balancer.
Args: load_balancer_id: The load balancer ID or label (e.g., "web-lb", "api-load-balancer", or UUID) frontend_protocol: Frontend protocol ('http', 'https', 'tcp') frontend_port: Frontend port number backend_protocol: Backend protocol ('http', 'https', 'tcp') backend_port: Backend port number ctx: FastMCP context for resource change notifications
Returns: Created forwarding rule information
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": {
"load_balancer_id": "<load_balancer_id>",
"frontend_protocol": "<frontend_protocol>",
"frontend_port": "<frontend_port>",
"backend_protocol": "<backend_protocol>",
"backend_port": "<backend_port>"
},
"name": "lb_create_forwarding_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backend_port | Yes | ||
| frontend_port | Yes | ||
| backend_protocol | Yes | ||
| load_balancer_id | Yes | ||
| frontend_protocol | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||