delete_tunnel
Permanently delete a SakuraFrp tunnel by setting confirm: true; it stops the tunnel first, invalidates public access immediately, and rolls back if deletion fails.
Instructions
永久删除隧道。写操作,必须传 confirm: true。不可恢复,公网入口立即失效。会先停隧道再删除,删除失败自动回滚。可额外传 name 做二次校验防止删错。
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": "<tunnel>"
},
"name": "delete_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 可选:隧道名二次校验,不匹配则拒绝删除 | |
| tunnel | Yes | 隧道 id 或隧道名 | |
| confirm | No | 确认执行写操作 |