zte_modify_port_forward
Update an existing port forwarding rule's name, protocol, ports, and internal host to reconfigure traffic routing.
Instructions
Modifica una regla de port forwarding existente.
Args: index: Indice de la regla (obtenido con zte_get_port_forwards). name: Nuevo nombre de la regla. protocol: "TCP", "UDP" o "TCP+UDP". external_port_start: Puerto externo inicial. external_port_end: Puerto externo final. internal_host: IP interna destino. internal_port_start: Puerto interno inicial. internal_port_end: Puerto interno final.
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": {
"index": "<index>",
"name": "<name>",
"protocol": "<protocol>",
"external_port_start": "<external_port_start>",
"external_port_end": "<external_port_end>",
"internal_host": "<internal_host>",
"internal_port_start": "<internal_port_start>",
"internal_port_end": "<internal_port_end>"
},
"name": "zte_modify_port_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| index | Yes | ||
| protocol | Yes | ||
| internal_host | Yes | ||
| external_port_end | Yes | ||
| internal_port_end | Yes | ||
| external_port_start | Yes | ||
| internal_port_start | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |