clash.rules.remove
Remove rules by unique fingerprint from a specified section of a Clash rules profile. Requires preview and confirmation to prevent ambiguous matches or drift.
Instructions
Capability-gated rule removal by unique fingerprint from a section (prepend/append/delete) of the independent Rules owner through the authenticated native Clash Verge Adapter. Ambiguous matches and owner/ruleset drift are rejected. Two-phase preview/nonce execution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Rules profile UID (must match ^[A-Za-z0-9_-]{1,120}$). Defaults to active profile's option.rules. | |
| section | Yes | Target section in the Rules owner file. | |
| confirmed | Yes | Must be true to execute (light confirmation). | |
| confirmNonce | No | Nonce from preview call, required for execution. | |
| ruleFingerprints | Yes | Rule fingerprints to remove (from clash.rules.inspect). Each must uniquely match one rule. Max 100 per operation. | |
| targetProfileUid | No | Target Profile UID. Defaults to the active Profile; may select an inactive Profile without switching it. |