Stop tunnel
stop_tunnelStop an active tunnel for a local port or label, revoking its public URL. Use it before restarting with new tunnel settings to change the port or label.
Instructions
Stop (tear down) the tunnel for a local port or link label, revoking its public URL. Idempotent. To change a live tunnel's port or label, stop it here and then call serve again with the new settings; there is no in-place reconfiguration.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stop_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Local port of the tunnel to stop. | |
| label | No | Link label of the tunnel to stop (alternative to port). |