naftiko: 1.0.0-alpha2 info: label: Automation Anywhere Workload Management API — WorkItems description: 'Automation Anywhere Workload Management API — WorkItems. 2 operations. Lead operation: Create work items from a file. Self-contained Naftiko capability covering one Automation Anywhere business surface.' tags: - Automation Anywhere - WorkItems created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AUTOMATION_ANYWHERE_API_KEY: AUTOMATION_ANYWHERE_API_KEY capability: consumes: - type: http namespace: workload-management-workitems baseUri: https://{controlRoomUrl}/v4/wlm description: Automation Anywhere Workload Management API — WorkItems business capability. Self-contained, no shared references. resources: - name: queues-id-file path: /queues/{id}/file operations: - name: createworkitemsfromfile method: POST description: Create work items from a file outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: queues-id-workitems-workItemId path: /queues/{id}/workitems/{workItemId} operations: - name: updateworkitem method: PUT description: Update a work item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.AUTOMATION_ANYWHERE_API_KEY}}' exposes: - type: rest namespace: workload-management-workitems-rest port: 8080 description: REST adapter for Automation Anywhere Workload Management API — WorkItems. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/queues/{id}/file name: queues-id-file description: REST surface for queues-id-file. operations: - method: POST name: createworkitemsfromfile description: Create work items from a file call: workload-management-workitems.createworkitemsfromfile with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/queues/{id}/workitems/{workitemid} name: queues-id-workitems-workitemid description: REST surface for queues-id-workitems-workItemId. operations: - method: PUT name: updateworkitem description: Update a work item call: workload-management-workitems.updateworkitem with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: workload-management-workitems-mcp port: 9090 transport: http description: MCP adapter for Automation Anywhere Workload Management API — WorkItems. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-work-items-file description: Create work items from a file hints: readOnly: false destructive: false idempotent: false call: workload-management-workitems.createworkitemsfromfile with: body: tools.body outputParameters: - type: object mapping: $. - name: update-work-item description: Update a work item hints: readOnly: false destructive: false idempotent: true call: workload-management-workitems.updateworkitem with: body: tools.body outputParameters: - type: object mapping: $.