clash.verge.configure_lan_access
Enable or disable LAN access for Clash configuration with two-step confirmation to prevent unauthorized network exposure.
Instructions
Configure allow-lan in config.yaml (verge_clash_base owner). Strong confirmation required (call first without confirmed to get nonce). LAN binding risk assessment included.
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": {
"value": "<value>",
"confirmed": "<confirmed>"
},
"name": "clash.verge.configure_lan_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | true to allow LAN access, false to restrict to localhost | |
| confirmed | Yes | Must be true to proceed (strong confirmation) | |
| confirmNonce | No | Nonce from first call, required for strong confirmation |