sync_git_to_workspace
Synchronize a local Git repository or branch containing PBIP projects to a Fabric workspace, updating workspace items from version-controlled files.
Instructions
Deploy a local Git repository with PBIP projects to a Fabric workspace.
Use this tool when the user asks to:
Synchronize or publish a local Git repository or branch to a Fabric workspace.
Update workspace items based on version-controlled PBIP files.
Args: repo_path: Path to the local Git repository. workspace_id: Target Fabric workspace ID (UUID). branch_or_commit: Git ref to sync (default: "HEAD"). conflict_resolution: Conflict handling strategy ("manual", etc.). auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. dry_run: If True, calculate changes without publishing. fabric_client: Optional injected bridge/client (for testing).
Returns: Dict with synchronized items, skipped items, and deployment results.
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": {
"repo_path": "<repo_path>",
"workspace_id": "<workspace_id>"
},
"name": "sync_git_to_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| auth_mode | No | ||
| client_id | No | ||
| repo_path | Yes | ||
| tenant_id | No | ||
| workspace_id | Yes | ||
| fabric_client | No | ||
| branch_or_commit | No | HEAD | |
| conflict_resolution | No | manual |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||