clash.merge.update
Update a Merge YAML configuration using a strategic merge patch. Executes after preview and confirmation, with optimistic verification.
Instructions
Capability-gated update of a Merge YAML owner with a strategic merge patch through the authenticated native Clash Verge Adapter. targetProfileUid can select an inactive Profile; the owner is resolved from that Profile's option.merge. Two-phase preview/nonce execution with optimistic fingerprint verification and compensation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Merge profile UID (must match ^[A-Za-z0-9_-]{1,120}$). Defaults to active profile's option.merge. | |
| patch | Yes | Strategic merge patch (key-value pairs to merge into the Merge YAML file). | |
| confirmed | Yes | Must be true to execute (light confirmation). | |
| confirmNonce | No | Nonce from preview call, required for execution. | |
| targetProfileUid | No | Target Profile UID. Defaults to the active Profile; may select an inactive Profile without switching it. |