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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"change_id": "<change_id>",
"action": "<action>"
},
"name": "finish_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| change_id | Yes | ||
| approval_code | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||