naftiko: 1.0.0-alpha2 info: label: Azure Logic Apps Management API — WorkflowRuns description: 'Azure Logic Apps Management API — WorkflowRuns. 3 operations. Lead operation: List workflow runs. Self-contained Naftiko capability covering one Logic Apps business surface.' tags: - Logic Apps - WorkflowRuns created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LOGIC_APPS_API_KEY: LOGIC_APPS_API_KEY capability: consumes: - type: http namespace: management-workflowruns baseUri: https://management.azure.com description: Azure Logic Apps Management API — WorkflowRuns business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs operations: - name: listworkflowruns method: GET description: List workflow runs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $top in: query type: integer description: The maximum number of runs to return. - name: $filter in: query type: string description: OData filter expression for run status, time, etc. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName} operations: - name: getworkflowrun method: GET description: Get a workflow run outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/cancel operations: - name: cancelworkflowrun method: POST description: Cancel a workflow run outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LOGIC_APPS_API_KEY}}' exposes: - type: rest namespace: management-workflowruns-rest port: 8080 description: REST adapter for Azure Logic Apps Management API — WorkflowRuns. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-logic/workflows/{workflowname}/runs name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: listworkflowruns description: List workflow runs call: management-workflowruns.listworkflowruns with: $top: rest.$top $filter: rest.$filter outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-logic/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: getworkflowrun description: Get a workflow run call: management-workflowruns.getworkflowrun outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-logic/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: cancelworkflowrun description: Cancel a workflow run call: management-workflowruns.cancelworkflowrun outputParameters: - type: object mapping: $. - type: mcp namespace: management-workflowruns-mcp port: 9090 transport: http description: MCP adapter for Azure Logic Apps Management API — WorkflowRuns. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-workflow-runs description: List workflow runs hints: readOnly: true destructive: false idempotent: true call: management-workflowruns.listworkflowruns with: $top: tools.$top $filter: tools.$filter outputParameters: - type: object mapping: $. - name: get-workflow-run description: Get a workflow run hints: readOnly: true destructive: false idempotent: true call: management-workflowruns.getworkflowrun outputParameters: - type: object mapping: $. - name: cancel-workflow-run description: Cancel a workflow run hints: readOnly: false destructive: false idempotent: false call: management-workflowruns.cancelworkflowrun outputParameters: - type: object mapping: $.