close_tunnel
Force-close a specific tunnel by its ID to instantly stop its public URL. Use after a webhook test or demo ends.
Instructions
Force-close a specific tunnel by its ID. The public URL stops working immediately. Use this when a tunnel is no longer needed or public access must be revoked right away — e.g. after a webhook test or demo finishes. Use list_tunnels to find the tunnel_id.
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": {
"tunnel_id": "<tunnel_id>"
},
"name": "close_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | API token. Optional if RUSTUNNEL_TOKEN is set. | |
| tunnel_id | Yes | UUID of the tunnel to close |