naftiko: 1.0.0-alpha2 info: label: Workday HCM API — Workers description: 'Workday HCM API — Workers. 6 operations. Lead operation: Get Workers. Self-contained Naftiko capability covering one Workday business surface.' tags: - Workday - Workers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_API_KEY: WORKDAY_API_KEY capability: consumes: - type: http namespace: hcm-workers baseUri: https://wd2-impl-services1.workday.com/ccx/api/v1/{tenant} description: Workday HCM API — Workers business capability. Self-contained, no shared references. resources: - name: workers path: /workers operations: - name: getworkers method: GET description: Get Workers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workers-ID path: /workers/{ID} operations: - name: getworkerbyid method: GET description: Get Worker by Id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workers-ID-businessTitleChanges path: /workers/{ID}/businessTitleChanges operations: - name: getworkerbusinesstitlechanges method: GET description: Get Business Title Changes outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workers-ID-history path: /workers/{ID}/history operations: - name: getworkerhistory method: GET description: Get Worker History outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workers-ID-inboxTasks path: /workers/{ID}/inboxTasks operations: - name: getworkerinboxtasks method: GET description: Get Worker Inbox Tasks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workers-ID-photos path: /workers/{ID}/photos operations: - name: getworkerphoto method: GET description: Get Worker Photo outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_API_KEY}}' exposes: - type: rest namespace: hcm-workers-rest port: 8080 description: REST adapter for Workday HCM API — Workers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workers name: workers description: REST surface for workers. operations: - method: GET name: getworkers description: Get Workers call: hcm-workers.getworkers outputParameters: - type: object mapping: $. - path: /v1/workers/{id} name: workers-id description: REST surface for workers-ID. operations: - method: GET name: getworkerbyid description: Get Worker by Id call: hcm-workers.getworkerbyid outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/businesstitlechanges name: workers-id-businesstitlechanges description: REST surface for workers-ID-businessTitleChanges. operations: - method: GET name: getworkerbusinesstitlechanges description: Get Business Title Changes call: hcm-workers.getworkerbusinesstitlechanges outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/history name: workers-id-history description: REST surface for workers-ID-history. operations: - method: GET name: getworkerhistory description: Get Worker History call: hcm-workers.getworkerhistory outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/inboxtasks name: workers-id-inboxtasks description: REST surface for workers-ID-inboxTasks. operations: - method: GET name: getworkerinboxtasks description: Get Worker Inbox Tasks call: hcm-workers.getworkerinboxtasks outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/photos name: workers-id-photos description: REST surface for workers-ID-photos. operations: - method: GET name: getworkerphoto description: Get Worker Photo call: hcm-workers.getworkerphoto outputParameters: - type: object mapping: $. - type: mcp namespace: hcm-workers-mcp port: 9090 transport: http description: MCP adapter for Workday HCM API — Workers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-workers description: Get Workers hints: readOnly: true destructive: false idempotent: true call: hcm-workers.getworkers outputParameters: - type: object mapping: $. - name: get-worker-id description: Get Worker by Id hints: readOnly: true destructive: false idempotent: true call: hcm-workers.getworkerbyid outputParameters: - type: object mapping: $. - name: get-business-title-changes description: Get Business Title Changes hints: readOnly: true destructive: false idempotent: true call: hcm-workers.getworkerbusinesstitlechanges outputParameters: - type: object mapping: $. - name: get-worker-history description: Get Worker History hints: readOnly: true destructive: false idempotent: true call: hcm-workers.getworkerhistory outputParameters: - type: object mapping: $. - name: get-worker-inbox-tasks description: Get Worker Inbox Tasks hints: readOnly: true destructive: false idempotent: true call: hcm-workers.getworkerinboxtasks outputParameters: - type: object mapping: $. - name: get-worker-photo description: Get Worker Photo hints: readOnly: true destructive: false idempotent: true call: hcm-workers.getworkerphoto outputParameters: - type: object mapping: $.