Workday Benefits · Capability

Workday Benefits API — Dependents

Workday Benefits API — Dependents. 2 operations. Lead operation: Workday List Dependents. Self-contained Naftiko capability covering one Workday Benefits business surface.

Run with Naftiko Workday BenefitsDependents

What You Can Do

GET
Listdependents — Workday List Dependents
/v1/dependents
POST
Createdependent — Workday Create Dependent
/v1/dependents

MCP Tools

workday-list-dependents

Workday List Dependents

read-only idempotent
workday-create-dependent

Workday Create Dependent

Capability Spec

workday-benefits-dependents.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday Benefits API — Dependents
  description: 'Workday Benefits API — Dependents. 2 operations. Lead operation: Workday List Dependents. Self-contained Naftiko
    capability covering one Workday Benefits business surface.'
  tags:
  - Workday Benefits
  - Dependents
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORKDAY_BENEFITS_API_KEY: WORKDAY_BENEFITS_API_KEY
capability:
  consumes:
  - type: http
    namespace: workday-benefits-dependents
    baseUri: https://{tenant}.workday.com/api/benefits/v1
    description: Workday Benefits API — Dependents business capability. Self-contained, no shared references.
    resources:
    - name: dependents
      path: /dependents
      operations:
      - name: listdependents
        method: GET
        description: Workday List Dependents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of records to return
        - name: offset
          in: query
          type: integer
          description: Number of records to skip
        - name: employeeId
          in: query
          type: string
          description: Filter dependents by employee ID
      - name: createdependent
        method: POST
        description: Workday Create Dependent
        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.WORKDAY_BENEFITS_API_KEY}}'
  exposes:
  - type: rest
    namespace: workday-benefits-dependents-rest
    port: 8080
    description: REST adapter for Workday Benefits API — Dependents. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/dependents
      name: dependents
      description: REST surface for dependents.
      operations:
      - method: GET
        name: listdependents
        description: Workday List Dependents
        call: workday-benefits-dependents.listdependents
        with:
          limit: rest.limit
          offset: rest.offset
          employeeId: rest.employeeId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdependent
        description: Workday Create Dependent
        call: workday-benefits-dependents.createdependent
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: workday-benefits-dependents-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday Benefits API — Dependents. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: workday-list-dependents
      description: Workday List Dependents
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: workday-benefits-dependents.listdependents
      with:
        limit: tools.limit
        offset: tools.offset
        employeeId: tools.employeeId
      outputParameters:
      - type: object
        mapping: $.
    - name: workday-create-dependent
      description: Workday Create Dependent
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: workday-benefits-dependents.createdependent
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.