clash.config.preview_change
Preview configuration changes by applying semantic edits to a Clash workspace and generating a diff. Supports set, merge section, rule add/remove without writing to file.
Instructions
Apply semantic changes to a workspace and generate a diff preview. Does NOT write to any file. Supports: set key, merge section (Strategic Merge), rule_add (fingerprint-based), rule_remove (fingerprint-based).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | List of changes to apply | |
| workspaceId | Yes | Workspace ID from create_workspace |