clash.config.apply_transaction
Apply validated workspace config changes to the persistent config file, with automatic rollback on failure. Requires explicit confirmation.
Instructions
Apply a validated workspace's changes to the persistent config file. Creates a snapshot, writes the file, attempts Mihomo reload, runs health checks, and auto-rolls back on failure. Light confirmation required (confirmed=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | Must be true to proceed with persistent modification | |
| workspaceId | Yes | Workspace ID from create_workspace (must be VALIDATED) |