flclash_set_mode
Switches the FlClash outbound mode between rule, global, and direct, then saves the selection so the GUI reflects the active routing behavior.
Instructions
Set and save rule/global/direct outbound mode in the GUI.
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": {
"mode": "<mode>"
},
"name": "flclash_set_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes |