clash.runtime.select_proxy
Switch proxy in a Selector group, atomically synchronizing runtime and configuration after confirmation.
Instructions
Switch proxy in a Selector group. With the verified Clash Verge Adapter, atomically synchronizes Mihomo runtime, Verge memory, profiles.yaml, GUI/tray refresh, and optional old-connection cleanup. Otherwise falls back to verified runtime-only switching. Light confirmation required.
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": {
"group": "<group>",
"proxy": "<proxy>",
"confirmed": "<confirmed>"
},
"name": "clash.runtime.select_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Selector group name | |
| proxy | Yes | Proxy name to select (must be in group) | |
| confirmed | Yes | Must be true to proceed with switch |