naftiko: 1.0.0-alpha2 info: label: WebApps API Client — WorkflowVersions description: 'WebApps API Client — WorkflowVersions. 2 operations. Lead operation: WorkflowVersions. Self-contained Naftiko capability covering one Microsoft Azure Functions business surface.' tags: - Microsoft Azure Functions - WorkflowVersions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_FUNCTIONS_API_KEY: MICROSOFT_AZURE_FUNCTIONS_API_KEY capability: consumes: - type: http namespace: azure-functions-management-workflowversions baseUri: https://management.azure.com description: WebApps API Client — WorkflowVersions business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions operations: - name: workflowversionslist method: GET description: Gets a list of workflow versions. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Site name. required: true - name: workflowName in: path type: string description: The workflow name. required: true - name: $top in: query type: integer description: The number of items to be included in the result. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId} operations: - name: workflowversionsget method: GET description: Gets a workflow version. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: name in: path type: string description: Site name. required: true - name: workflowName in: path type: string description: The workflow name. required: true - name: versionId in: path type: string description: The workflow versionId. required: true exposes: - type: rest namespace: azure-functions-management-workflowversions-rest port: 8080 description: REST adapter for WebApps API Client — WorkflowVersions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowname}/versions name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: workflowversionslist description: Gets a list of workflow versions. call: azure-functions-management-workflowversions.workflowversionslist with: name: rest.name workflowName: rest.workflowName $top: rest.$top outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowname}/versions/{versionid} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: workflowversionsget description: Gets a workflow version. call: azure-functions-management-workflowversions.workflowversionsget with: name: rest.name workflowName: rest.workflowName versionId: rest.versionId outputParameters: - type: object mapping: $. - type: mcp namespace: azure-functions-management-workflowversions-mcp port: 9090 transport: http description: MCP adapter for WebApps API Client — WorkflowVersions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gets-list-workflow-versions description: Gets a list of workflow versions. hints: readOnly: true destructive: false idempotent: true call: azure-functions-management-workflowversions.workflowversionslist with: name: tools.name workflowName: tools.workflowName $top: tools.$top outputParameters: - type: object mapping: $. - name: gets-workflow-version description: Gets a workflow version. hints: readOnly: true destructive: false idempotent: true call: azure-functions-management-workflowversions.workflowversionsget with: name: tools.name workflowName: tools.workflowName versionId: tools.versionId outputParameters: - type: object mapping: $.