naftiko: 1.0.0-alpha2 info: label: Microsoft Azure DevTestLabsClient — Costs description: 'Microsoft Azure DevTestLabsClient — Costs. 2 operations. Lead operation: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - Costs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: devtestlabsclient-costs baseUri: https://management.azure.com description: Microsoft Azure DevTestLabsClient — Costs business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/costs/{name} operations: - name: microsoftazurecostsget method: GET description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labName in: path type: string description: The name of the lab. required: true - name: name in: path type: string description: The name of the cost. required: true - name: $expand in: query type: string description: 'Specify the $expand query. Example: ''properties($expand=labCostDetails)''' - name: microsoftazurecostscreateorupdate method: PUT description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: labName in: path type: string description: The name of the lab. required: true - name: name in: path type: string description: The name of the cost. required: true - name: labCost in: body type: string description: A cost item. required: true exposes: - type: rest namespace: devtestlabsclient-costs-rest port: 8080 description: REST adapter for Microsoft Azure DevTestLabsClient — Costs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devtestlab/labs/{labname}/costs/{name} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: microsoftazurecostsget description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name call: devtestlabsclient-costs.microsoftazurecostsget with: labName: rest.labName name: rest.name $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PUT name: microsoftazurecostscreateorupdate description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name call: devtestlabsclient-costs.microsoftazurecostscreateorupdate with: labName: rest.labName name: rest.name labCost: rest.labCost outputParameters: - type: object mapping: $. - type: mcp namespace: devtestlabsclient-costs-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure DevTestLabsClient — Costs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-subscriptions-subscriptionid description: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name hints: readOnly: true destructive: false idempotent: true call: devtestlabsclient-costs.microsoftazurecostsget with: labName: tools.labName name: tools.name $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-azure-put-subscriptions-subscriptionid description: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Devtestlab Labs Labname Costs Name hints: readOnly: false destructive: false idempotent: true call: devtestlabsclient-costs.microsoftazurecostscreateorupdate with: labName: tools.labName name: tools.name labCost: tools.labCost outputParameters: - type: object mapping: $.