switch_proxy
Switches the active node for a specified proxy group in a local mihomo/Clash Meta core. Use it to route traffic through a chosen proxy node via AI/MCP clients.
Instructions
切换某个代理组的当前选中节点
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>",
"name": "<name>"
},
"name": "switch_proxy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 要切换到的节点名(必须是该组 all 列表里的名字) | |
| group | Yes | 代理组名 |