duplicate_report
Clone an .rdl report to a new path, automatically regenerating report and data source IDs to prevent identity collisions in Power BI Report Builder.
Instructions
Clone an .rdl to a new path. When regenerate_ids=true (default), every rd:DataSourceID and any rd:ReportID is rewritten to a fresh uuid4() so Power BI Report Builder doesn't refuse to load the duplicate due to identity collision. Atomic-write convention from RDLDocument.save_as. Refuses if dst_path already exists. Returns {src, dst, regenerated_ids: list[str]}.
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": {
"src_path": "<src_path>",
"dst_path": "<dst_path>"
},
"name": "duplicate_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst_path | Yes | ||
| src_path | Yes | ||
| regenerate_ids | No |