naftiko: 1.0.0-alpha2 info: label: Knock Schedules API — Schedules description: 'Knock Schedules API — Schedules. 5 operations. Lead operation: createschedules. Self-contained Naftiko capability covering one Knock business surface.' tags: - Knock - Schedules created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: KNOCK_API_KEY: KNOCK_API_KEY capability: consumes: - type: http namespace: schedules baseUri: https://api.knock.app description: Knock Knock Schedules API business capability. Self-contained, no shared references. resources: - name: v1-schedules path: /v1/schedules operations: - name: deleteschedules method: DELETE description: Delete schedules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: listschedules method: GET description: List schedules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createschedules method: POST description: Create schedules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: updateschedules method: PUT description: Update schedules outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: v1-schedules-bulk-create path: /v1/schedules/bulk/create operations: - name: bulkcreateschedules method: POST description: Create schedules in bulk outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true authentication: type: bearer value: '{{env.KNOCK_API_KEY}}' placement: header exposes: - type: rest namespace: schedules-rest port: 8080 description: REST adapter for Knock Knock Schedules API. resources: - path: /v1/v1/schedules name: v1-schedules description: REST surface for v1-schedules. operations: - method: DELETE name: deleteschedules description: Delete schedules call: schedules.deleteschedules with: {} outputParameters: - type: object mapping: $. - method: GET name: listschedules description: List schedules call: schedules.listschedules with: {} outputParameters: - type: object mapping: $. - method: POST name: createschedules description: Create schedules call: schedules.createschedules with: body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updateschedules description: Update schedules call: schedules.updateschedules with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/schedules/bulk/create name: v1-schedules-bulk-create description: REST surface for v1-schedules-bulk-create. operations: - method: POST name: bulkcreateschedules description: Create schedules in bulk call: schedules.bulkcreateschedules with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: schedules-mcp port: 9090 transport: http description: MCP adapter for Knock Knock Schedules API. One tool per consumed operation. tools: - name: knock-deleteschedules description: Delete schedules hints: readOnly: false destructive: true idempotent: true call: schedules.deleteschedules with: {} outputParameters: - type: object mapping: $. - name: knock-listschedules description: List schedules hints: readOnly: true destructive: false idempotent: true call: schedules.listschedules with: {} outputParameters: - type: object mapping: $. - name: knock-createschedules description: Create schedules hints: readOnly: false destructive: false idempotent: false call: schedules.createschedules with: body: tools.body outputParameters: - type: object mapping: $. - name: knock-updateschedules description: Update schedules hints: readOnly: false destructive: false idempotent: true call: schedules.updateschedules with: body: tools.body outputParameters: - type: object mapping: $. - name: knock-bulkcreateschedules description: Create schedules in bulk hints: readOnly: false destructive: false idempotent: false call: schedules.bulkcreateschedules with: body: tools.body outputParameters: - type: object mapping: $.