Cal.com · Capability

Cal.diy API v2 — Selected Calendars

Cal.diy API v2 — Selected Calendars. 2 operations. Lead operation: Add a selected calendar. Self-contained Naftiko capability covering one Cal Com business surface.

Run with Naftiko Cal ComSelected Calendars

What You Can Do

POST
Selectedcalendarscontrolleraddselectedcalendar — Add a selected calendar
/v1/v2/selected-calendars
DELETE
Selectedcalendarscontrollerdeleteselectedcalendar — Delete a selected calendar
/v1/v2/selected-calendars

MCP Tools

add-selected-calendar

Add a selected calendar

delete-selected-calendar

Delete a selected calendar

idempotent

Capability Spec

cal-com-selected-calendars.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cal.diy API v2 — Selected Calendars
  description: 'Cal.diy API v2 — Selected Calendars. 2 operations. Lead operation: Add a selected calendar. Self-contained
    Naftiko capability covering one Cal Com business surface.'
  tags:
  - Cal Com
  - Selected Calendars
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CAL_COM_API_KEY: CAL_COM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cal-com-selected-calendars
    baseUri: ''
    description: Cal.diy API v2 — Selected Calendars business capability. Self-contained, no shared references.
    resources:
    - name: v2-selected-calendars
      path: /v2/selected-calendars
      operations:
      - name: selectedcalendarscontrolleraddselectedcalendar
        method: POST
        description: Add a selected calendar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
            token
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: selectedcalendarscontrollerdeleteselectedcalendar
        method: DELETE
        description: Delete a selected calendar
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
          description: value must be `Bearer <token>` where `<token>` is api key prefixed with cal_ or managed user access
            token
          required: true
        - name: integration
          in: query
          type: string
          required: true
        - name: externalId
          in: query
          type: string
          required: true
        - name: credentialId
          in: query
          type: string
          required: true
        - name: delegationCredentialId
          in: query
          type: string
  exposes:
  - type: rest
    namespace: cal-com-selected-calendars-rest
    port: 8080
    description: REST adapter for Cal.diy API v2 — Selected Calendars. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/selected-calendars
      name: v2-selected-calendars
      description: REST surface for v2-selected-calendars.
      operations:
      - method: POST
        name: selectedcalendarscontrolleraddselectedcalendar
        description: Add a selected calendar
        call: cal-com-selected-calendars.selectedcalendarscontrolleraddselectedcalendar
        with:
          Authorization: rest.Authorization
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: selectedcalendarscontrollerdeleteselectedcalendar
        description: Delete a selected calendar
        call: cal-com-selected-calendars.selectedcalendarscontrollerdeleteselectedcalendar
        with:
          Authorization: rest.Authorization
          integration: rest.integration
          externalId: rest.externalId
          credentialId: rest.credentialId
          delegationCredentialId: rest.delegationCredentialId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cal-com-selected-calendars-mcp
    port: 9090
    transport: http
    description: MCP adapter for Cal.diy API v2 — Selected Calendars. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: add-selected-calendar
      description: Add a selected calendar
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cal-com-selected-calendars.selectedcalendarscontrolleraddselectedcalendar
      with:
        Authorization: tools.Authorization
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-selected-calendar
      description: Delete a selected calendar
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cal-com-selected-calendars.selectedcalendarscontrollerdeleteselectedcalendar
      with:
        Authorization: tools.Authorization
        integration: tools.integration
        externalId: tools.externalId
        credentialId: tools.credentialId
        delegationCredentialId: tools.delegationCredentialId
      outputParameters:
      - type: object
        mapping: $.