naftiko: 1.0.0-alpha2 info: label: WebApps API Client — WorkflowRuns description: 'WebApps API Client — WorkflowRuns. 3 operations. Lead operation: WorkflowRuns. Self-contained Naftiko capability covering one Microsoft Azure Functions business surface.' tags: - Microsoft Azure Functions - WorkflowRuns 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-workflowruns baseUri: https://management.azure.com description: WebApps API Client — WorkflowRuns 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}/runs operations: - name: workflowrunslist method: GET description: Gets a list of workflow runs. 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: $filter in: query type: string description: 'The filter to apply on the operation. Options for filters include: Status, StartTime, and ClientTrackingId.' - 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}/runs/{runName} operations: - name: workflowrunsget method: GET description: Gets a workflow run. 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: runName in: path type: string description: The workflow run name. required: true - 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}/runs/{runName}/cancel operations: - name: workflowrunscancel method: POST description: Cancels a workflow run. 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: runName in: path type: string description: The workflow run name. required: true exposes: - type: rest namespace: azure-functions-management-workflowruns-rest port: 8080 description: REST adapter for WebApps API Client — WorkflowRuns. 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}/runs name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: workflowrunslist description: Gets a list of workflow runs. call: azure-functions-management-workflowruns.workflowrunslist with: name: rest.name workflowName: rest.workflowName $top: rest.$top $filter: rest.$filter outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowname}/runs/{runname} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: workflowrunsget description: Gets a workflow run. call: azure-functions-management-workflowruns.workflowrunsget with: name: rest.name workflowName: rest.workflowName runName: rest.runName outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowname}/runs/{runname}/cancel name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: POST name: workflowrunscancel description: Cancels a workflow run. call: azure-functions-management-workflowruns.workflowrunscancel with: name: rest.name workflowName: rest.workflowName runName: rest.runName outputParameters: - type: object mapping: $. - type: mcp namespace: azure-functions-management-workflowruns-mcp port: 9090 transport: http description: MCP adapter for WebApps API Client — WorkflowRuns. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gets-list-workflow-runs description: Gets a list of workflow runs. hints: readOnly: true destructive: false idempotent: true call: azure-functions-management-workflowruns.workflowrunslist with: name: tools.name workflowName: tools.workflowName $top: tools.$top $filter: tools.$filter outputParameters: - type: object mapping: $. - name: gets-workflow-run description: Gets a workflow run. hints: readOnly: true destructive: false idempotent: true call: azure-functions-management-workflowruns.workflowrunsget with: name: tools.name workflowName: tools.workflowName runName: tools.runName outputParameters: - type: object mapping: $. - name: cancels-workflow-run description: Cancels a workflow run. hints: readOnly: false destructive: false idempotent: false call: azure-functions-management-workflowruns.workflowrunscancel with: name: tools.name workflowName: tools.workflowName runName: tools.runName outputParameters: - type: object mapping: $.