Microsoft Bookings · Capability

Microsoft Bookings API (Microsoft Graph) — CustomQuestions

Microsoft Bookings API (Microsoft Graph) — CustomQuestions. 2 operations. Lead operation: List custom questions. Self-contained Naftiko capability covering one Microsoft Bookings business surface.

Run with Naftiko Microsoft BookingsCustomQuestions

What You Can Do

GET
Listcustomquestions — List custom questions
/v1/solutions/bookingbusinesses/{id}/customquestions
POST
Createcustomquestion — Create custom question
/v1/solutions/bookingbusinesses/{id}/customquestions

MCP Tools

list-custom-questions

List custom questions

read-only idempotent
create-custom-question

Create custom question

Capability Spec

microsoft-bookings-customquestions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Bookings API (Microsoft Graph) — CustomQuestions
  description: 'Microsoft Bookings API (Microsoft Graph) — CustomQuestions. 2 operations. Lead operation: List custom questions.
    Self-contained Naftiko capability covering one Microsoft Bookings business surface.'
  tags:
  - Microsoft Bookings
  - CustomQuestions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_BOOKINGS_API_KEY: MICROSOFT_BOOKINGS_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-bookings-customquestions
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Bookings API (Microsoft Graph) — CustomQuestions business capability. Self-contained, no shared
      references.
    resources:
    - name: solutions-bookingBusinesses-id-customQuestions
      path: /solutions/bookingBusinesses/{id}/customQuestions
      operations:
      - name: listcustomquestions
        method: GET
        description: List custom questions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createcustomquestion
        method: POST
        description: Create custom question
        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.MICROSOFT_BOOKINGS_API_KEY}}'
  exposes:
  - type: rest
    namespace: microsoft-bookings-customquestions-rest
    port: 8080
    description: REST adapter for Microsoft Bookings API (Microsoft Graph) — CustomQuestions. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/solutions/bookingbusinesses/{id}/customquestions
      name: solutions-bookingbusinesses-id-customquestions
      description: REST surface for solutions-bookingBusinesses-id-customQuestions.
      operations:
      - method: GET
        name: listcustomquestions
        description: List custom questions
        call: microsoft-bookings-customquestions.listcustomquestions
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createcustomquestion
        description: Create custom question
        call: microsoft-bookings-customquestions.createcustomquestion
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-bookings-customquestions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Bookings API (Microsoft Graph) — CustomQuestions. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: list-custom-questions
      description: List custom questions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-bookings-customquestions.listcustomquestions
      outputParameters:
      - type: object
        mapping: $.
    - name: create-custom-question
      description: Create custom question
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-bookings-customquestions.createcustomquestion
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.