naftiko: 1.0.0-alpha2 info: label: Microsoft Power BI REST API — Groups description: 'Microsoft Power BI REST API — Groups. 3 operations. Lead operation: Get Groups (workspaces). Self-contained Naftiko capability covering one Microsoft Power Bi business surface.' tags: - Microsoft Power Bi - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_POWER_BI_API_KEY: MICROSOFT_POWER_BI_API_KEY capability: consumes: - type: http namespace: microsoft-power-bi-groups baseUri: https://api.powerbi.com/v1.0/myorg description: Microsoft Power BI REST API — Groups business capability. Self-contained, no shared references. resources: - name: groups path: /groups operations: - name: getgroups method: GET description: Get Groups (workspaces) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: creategroup method: POST description: Create Group (workspace) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: groups-groupId path: /groups/{groupId} operations: - name: deletegroup method: DELETE description: Delete Group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_POWER_BI_API_KEY}}' exposes: - type: rest namespace: microsoft-power-bi-groups-rest port: 8080 description: REST adapter for Microsoft Power BI REST API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/groups name: groups description: REST surface for groups. operations: - method: GET name: getgroups description: Get Groups (workspaces) call: microsoft-power-bi-groups.getgroups outputParameters: - type: object mapping: $. - method: POST name: creategroup description: Create Group (workspace) call: microsoft-power-bi-groups.creategroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/groups/{groupid} name: groups-groupid description: REST surface for groups-groupId. operations: - method: DELETE name: deletegroup description: Delete Group call: microsoft-power-bi-groups.deletegroup outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-power-bi-groups-mcp port: 9090 transport: http description: MCP adapter for Microsoft Power BI REST API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-groups-workspaces description: Get Groups (workspaces) hints: readOnly: true destructive: false idempotent: true call: microsoft-power-bi-groups.getgroups outputParameters: - type: object mapping: $. - name: create-group-workspace description: Create Group (workspace) hints: readOnly: false destructive: false idempotent: false call: microsoft-power-bi-groups.creategroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-group description: Delete Group hints: readOnly: false destructive: true idempotent: true call: microsoft-power-bi-groups.deletegroup outputParameters: - type: object mapping: $.