naftiko: 1.0.0-alpha2 info: label: Twilio SendGrid Scheduled Sends API — Scheduled Sends description: 'Twilio SendGrid Scheduled Sends API — Scheduled Sends. 5 operations. Lead operation: Cancel or pause a scheduled send. Self-contained Naftiko capability covering one Sendgrid business surface.' tags: - Sendgrid - Scheduled Sends created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENDGRID_API_KEY: SENDGRID_API_KEY capability: consumes: - type: http namespace: tsg_scheduled_sends_v3-scheduled-sends baseUri: https://api.sendgrid.com description: Twilio SendGrid Scheduled Sends API — Scheduled Sends business capability. Self-contained, no shared references. resources: - name: v3-user-scheduled_sends path: /v3/user/scheduled_sends operations: - name: createscheduledsend method: POST description: Cancel or pause a scheduled send outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listscheduledsend method: GET description: Retrieve all scheduled sends outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-user-scheduled_sends-batch_id path: /v3/user/scheduled_sends/{batch_id} operations: - name: getscheduledsend method: GET description: Retrieve scheduled send outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatescheduledsend method: PATCH description: Update a scheduled send outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletescheduledsend method: DELETE description: Delete a cancellation or pause from a scheduled send outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SENDGRID_API_KEY}}' exposes: - type: rest namespace: tsg_scheduled_sends_v3-scheduled-sends-rest port: 8080 description: REST adapter for Twilio SendGrid Scheduled Sends API — Scheduled Sends. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/user/scheduled-sends name: v3-user-scheduled-sends description: REST surface for v3-user-scheduled_sends. operations: - method: POST name: createscheduledsend description: Cancel or pause a scheduled send call: tsg_scheduled_sends_v3-scheduled-sends.createscheduledsend with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listscheduledsend description: Retrieve all scheduled sends call: tsg_scheduled_sends_v3-scheduled-sends.listscheduledsend outputParameters: - type: object mapping: $. - path: /v1/v3/user/scheduled-sends/{batch-id} name: v3-user-scheduled-sends-batch-id description: REST surface for v3-user-scheduled_sends-batch_id. operations: - method: GET name: getscheduledsend description: Retrieve scheduled send call: tsg_scheduled_sends_v3-scheduled-sends.getscheduledsend outputParameters: - type: object mapping: $. - method: PATCH name: updatescheduledsend description: Update a scheduled send call: tsg_scheduled_sends_v3-scheduled-sends.updatescheduledsend with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletescheduledsend description: Delete a cancellation or pause from a scheduled send call: tsg_scheduled_sends_v3-scheduled-sends.deletescheduledsend outputParameters: - type: object mapping: $. - type: mcp namespace: tsg_scheduled_sends_v3-scheduled-sends-mcp port: 9090 transport: http description: MCP adapter for Twilio SendGrid Scheduled Sends API — Scheduled Sends. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cancel-pause-scheduled-send description: Cancel or pause a scheduled send hints: readOnly: false destructive: false idempotent: false call: tsg_scheduled_sends_v3-scheduled-sends.createscheduledsend with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-all-scheduled-sends description: Retrieve all scheduled sends hints: readOnly: true destructive: false idempotent: true call: tsg_scheduled_sends_v3-scheduled-sends.listscheduledsend outputParameters: - type: object mapping: $. - name: retrieve-scheduled-send description: Retrieve scheduled send hints: readOnly: true destructive: false idempotent: true call: tsg_scheduled_sends_v3-scheduled-sends.getscheduledsend outputParameters: - type: object mapping: $. - name: update-scheduled-send description: Update a scheduled send hints: readOnly: false destructive: false idempotent: true call: tsg_scheduled_sends_v3-scheduled-sends.updatescheduledsend with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-cancellation-pause-scheduled-send description: Delete a cancellation or pause from a scheduled send hints: readOnly: false destructive: true idempotent: true call: tsg_scheduled_sends_v3-scheduled-sends.deletescheduledsend outputParameters: - type: object mapping: $.