get_workspace_id
Retrieve the workspace ID for a Power BI workspace by providing its display name, required for subsequent operations like listing datasets.
Instructions
Get the workspace ID for a given workspace name.
This tool is useful for finding the workspace ID when you only know the workspace name. The ID is required for other operations like listing datasets.
Args: workspace_name: The display name of the Power BI workspace.
Returns: The workspace ID as a string.
Raises: ToolError: If the workspace is not found.
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": {
"workspace_name": "<workspace_name>"
},
"name": "get_workspace_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |