finish_change
Apply or undo an approved Power BI change after user approval via 6-digit code; backs up, verifies, and restores on failure.
Instructions
STEP 2 (apply) or UNDO (rollback) for a change from propose_change. Call ONLY after the user has
explicitly approved THAT change and read you the 6-digit approval code shown in the server's console
window; never guess a code or infer approval. With an empty approval_code it issues a fresh code and
applies nothing. apply backs up the whole file, applies only the approved edit, re-verifies, and restores
the original if verification fails. rollback restores the backup (needs its own code).
Works only on COPIES inside the folder named by PBI_MCP_EDIT_ROOT (off when unset).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| change_id | Yes | ||
| approval_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||