model_delete_relationship
Deletes a relationship from a Power BI .pbip model by relationship ID or by from/to table and column pair, removing the link from the model.
Instructions
Delete a relationship by ID or by (fromTable, fromColumn, toTable, toColumn).
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": {
"projectPath": "<projectPath>"
},
"name": "model_delete_relationship"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Relationship GUID | |
| toTable | No | ||
| toColumn | No | ||
| fromTable | No | ||
| fromColumn | No | ||
| projectPath | Yes | Path to the .pbip file or project root folder |