naftiko: 1.0.0-alpha2 info: label: Automation Anywhere Control Room API — Users description: 'Automation Anywhere Control Room API — Users. 5 operations. Lead operation: Create a user. Self-contained Naftiko capability covering one Automation Anywhere business surface.' tags: - Automation Anywhere - Users 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: control-room-users baseUri: https://{controlRoomUrl} description: Automation Anywhere Control Room API — Users business capability. Self-contained, no shared references. resources: - name: v2-usermanagement-users path: /v2/usermanagement/users operations: - name: createuser method: POST description: Create a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-usermanagement-users-list path: /v2/usermanagement/users/list operations: - name: listusers method: POST description: List users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-usermanagement-users-uid path: /v2/usermanagement/users/{uid} operations: - name: getuser method: GET description: Get user by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PUT description: Update a user outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Delete a user outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.AUTOMATION_ANYWHERE_API_KEY}}' exposes: - type: rest namespace: control-room-users-rest port: 8080 description: REST adapter for Automation Anywhere Control Room API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/usermanagement/users name: v2-usermanagement-users description: REST surface for v2-usermanagement-users. operations: - method: POST name: createuser description: Create a user call: control-room-users.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/usermanagement/users/list name: v2-usermanagement-users-list description: REST surface for v2-usermanagement-users-list. operations: - method: POST name: listusers description: List users call: control-room-users.listusers with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/usermanagement/users/{uid} name: v2-usermanagement-users-uid description: REST surface for v2-usermanagement-users-uid. operations: - method: GET name: getuser description: Get user by ID call: control-room-users.getuser outputParameters: - type: object mapping: $. - method: PUT name: updateuser description: Update a user call: control-room-users.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Delete a user call: control-room-users.deleteuser outputParameters: - type: object mapping: $. - type: mcp namespace: control-room-users-mcp port: 9090 transport: http description: MCP adapter for Automation Anywhere Control Room API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-user description: Create a user hints: readOnly: false destructive: false idempotent: false call: control-room-users.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: list-users description: List users hints: readOnly: true destructive: false idempotent: false call: control-room-users.listusers with: body: tools.body outputParameters: - type: object mapping: $. - name: get-user-id description: Get user by ID hints: readOnly: true destructive: false idempotent: true call: control-room-users.getuser outputParameters: - type: object mapping: $. - name: update-user description: Update a user hints: readOnly: false destructive: false idempotent: true call: control-room-users.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-user description: Delete a user hints: readOnly: false destructive: true idempotent: true call: control-room-users.deleteuser outputParameters: - type: object mapping: $.