start_tunnel
Starts a specified SakuraFrp tunnel by ID or name, adding it to auto-start and restarting the service; this briefly interrupts all tunnels and requires confirm=true.
Instructions
启动指定隧道(按 id 或 name)。写操作:把隧道加入 auto_start_tunnels 并重启 SakuraFrpService,服务下所有隧道会短暂中断。必须传 confirm: true。
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": "start_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tunnel | Yes | 隧道 id 或隧道名 | |
| confirm | No | 确认执行写操作 |