naftiko: 1.0.0-alpha2 info: label: Automation Anywhere Workload Management API — WorkItemModels description: 'Automation Anywhere Workload Management API — WorkItemModels. 2 operations. Lead operation: Create a work item model. Self-contained Naftiko capability covering one Automation Anywhere business surface.' tags: - Automation Anywhere - WorkItemModels 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-workitemmodels baseUri: https://{controlRoomUrl}/v4/wlm description: Automation Anywhere Workload Management API — WorkItemModels business capability. Self-contained, no shared references. resources: - name: workitemmodels path: /workitemmodels operations: - name: createworkitemmodel method: POST description: Create a work item model outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workitemmodels-id path: /workitemmodels/{id} operations: - name: getworkitemmodel method: GET description: Get a work item model by ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.AUTOMATION_ANYWHERE_API_KEY}}' exposes: - type: rest namespace: workload-management-workitemmodels-rest port: 8080 description: REST adapter for Automation Anywhere Workload Management API — WorkItemModels. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workitemmodels name: workitemmodels description: REST surface for workitemmodels. operations: - method: POST name: createworkitemmodel description: Create a work item model call: workload-management-workitemmodels.createworkitemmodel with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workitemmodels/{id} name: workitemmodels-id description: REST surface for workitemmodels-id. operations: - method: GET name: getworkitemmodel description: Get a work item model by ID call: workload-management-workitemmodels.getworkitemmodel outputParameters: - type: object mapping: $. - type: mcp namespace: workload-management-workitemmodels-mcp port: 9090 transport: http description: MCP adapter for Automation Anywhere Workload Management API — WorkItemModels. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-work-item-model description: Create a work item model hints: readOnly: false destructive: false idempotent: false call: workload-management-workitemmodels.createworkitemmodel with: body: tools.body outputParameters: - type: object mapping: $. - name: get-work-item-model-id description: Get a work item model by ID hints: readOnly: true destructive: false idempotent: true call: workload-management-workitemmodels.getworkitemmodel outputParameters: - type: object mapping: $.