connect_target
Connect to a Power BI or Fabric target to detect available engines and create a session ID for orchestrating downstream workflows.
Instructions
Connect to a Power BI target and detect available engines.
Args: target_type: One of "pbi_desktop", "fabric_workspace", "pbip_folder", "pbix_file". target_ref: Reference to the target (path, workspace_id, etc.). auth_mode: "interactive" or "service_principal". tenant_id: Azure tenant ID (only used with service_principal).
Returns: ConnectResult with session_id, engines_available, and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auth_mode | No | interactive | |
| tenant_id | No | ||
| target_ref | Yes | ||
| target_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No | ||
| session_id | Yes | ||
| engines_available | Yes |