propose_change
Propose and validate an exact text replacement in a Power BI file copy and return a diff, affected objects, and risk for approval before editing.
Instructions
STEP 1 of any edit. Proposes replacing exact old_text with new_text in a file (.pbix .pbit .pbip
.pbir .pbids .rdl .tmdl or PBIR .json). Changes NOTHING: validates the result and returns a diff, the
affected objects and the risk. For .pbix/.pbit pass member. old_text must match exactly
expected_count places. Show the user the diff verbatim and wait for explicit approval.
Editing works only on COPIES inside the folder named by the PBI_MCP_EDIT_ROOT environment variable
(off when unset); originals elsewhere are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| member | No | ||
| reason | Yes | ||
| new_text | Yes | ||
| old_text | Yes | ||
| expected_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||