flclash_set_tun
Enable or disable FlClash TUN mode by setting and saving the GUI switch, with native permission checks applied.
Instructions
Set and save the GUI's TUN switch, applying its native permission checks.
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": {
"enabled": "<enabled>"
},
"name": "flclash_set_tun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes |