clash.profiles.activate
Activate a Clash profile with two-step confirmation to change network configuration securely. Preview first to receive a nonce, then confirm to apply.
Instructions
Activate a Profile through Clash Verge itself. Strong two-step confirmation is required because this may change the active network configuration. First call with confirmed=false to receive a nonce, then retry with confirmed=true and confirmNonce.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Target Profile UID | |
| confirmed | Yes | False for preview; true for execution | |
| timeoutMs | No | Timeout in ms, clamped to [1000, 60000] | |
| confirmNonce | No | One-time nonce returned by preview |