naftiko: 1.0.0-alpha2 info: label: Microsoft Azure REST API — Resource Groups description: 'Microsoft Azure REST API — Resource Groups. 4 operations. Lead operation: Microsoft List resource groups. Self-contained Naftiko capability covering one Microsoft business surface.' tags: - Microsoft - Resource Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_API_KEY: MICROSOFT_API_KEY capability: consumes: - type: http namespace: azure-rest-resource-groups baseUri: https://management.azure.com description: Microsoft Azure REST API — Resource Groups business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourcegroups path: /subscriptions/{subscriptionId}/resourcegroups operations: - name: listresourcegroups method: GET description: Microsoft List resource groups outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourcegroups-resourceGroupName path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName} operations: - name: getresourcegroup method: GET description: Microsoft Get a resource group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createorupdateresourcegroup method: PUT description: Microsoft Create or update a resource group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteresourcegroup method: DELETE description: Microsoft Delete a resource group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_API_KEY}}' exposes: - type: rest namespace: azure-rest-resource-groups-rest port: 8080 description: REST adapter for Microsoft Azure REST API — Resource Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups name: subscriptions-subscriptionid-resourcegroups description: REST surface for subscriptions-subscriptionId-resourcegroups. operations: - method: GET name: listresourcegroups description: Microsoft List resource groups call: azure-rest-resource-groups.listresourcegroups outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname description: REST surface for subscriptions-subscriptionId-resourcegroups-resourceGroupName. operations: - method: GET name: getresourcegroup description: Microsoft Get a resource group call: azure-rest-resource-groups.getresourcegroup outputParameters: - type: object mapping: $. - method: PUT name: createorupdateresourcegroup description: Microsoft Create or update a resource group call: azure-rest-resource-groups.createorupdateresourcegroup with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteresourcegroup description: Microsoft Delete a resource group call: azure-rest-resource-groups.deleteresourcegroup outputParameters: - type: object mapping: $. - type: mcp namespace: azure-rest-resource-groups-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure REST API — Resource Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-list-resource-groups description: Microsoft List resource groups hints: readOnly: true destructive: false idempotent: true call: azure-rest-resource-groups.listresourcegroups outputParameters: - type: object mapping: $. - name: microsoft-get-resource-group description: Microsoft Get a resource group hints: readOnly: true destructive: false idempotent: true call: azure-rest-resource-groups.getresourcegroup outputParameters: - type: object mapping: $. - name: microsoft-create-update-resource-group description: Microsoft Create or update a resource group hints: readOnly: false destructive: false idempotent: true call: azure-rest-resource-groups.createorupdateresourcegroup with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-delete-resource-group description: Microsoft Delete a resource group hints: readOnly: false destructive: true idempotent: true call: azure-rest-resource-groups.deleteresourcegroup outputParameters: - type: object mapping: $.