graphql_api_execute_query
Execute GraphQL queries against Microsoft Fabric GraphQL API endpoints using workspace ID, API ID, query, and optional variables.
Instructions
Execute a GraphQL query against a GraphQL API endpoint. Uses the Power BI scope token.
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": {
"workspaceId": "<workspaceId>",
"graphqlApiId": "<graphqlApiId>",
"query": "<query>"
},
"name": "graphql_api_execute_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL query string | |
| variables | No | GraphQL query variables | |
| workspaceId | Yes | The workspace ID | |
| graphqlApiId | Yes | The GraphQL API ID |