naftiko: 1.0.0-alpha2 info: label: Twilio SendGrid Suppressions API — Unsubscribe Groups description: 'Twilio SendGrid Suppressions API — Unsubscribe Groups. 5 operations. Lead operation: Create a new suppression group. Self-contained Naftiko capability covering one Sendgrid business surface.' tags: - Sendgrid - Unsubscribe Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENDGRID_API_KEY: SENDGRID_API_KEY capability: consumes: - type: http namespace: tsg_suppressions_v3-unsubscribe-groups baseUri: https://api.sendgrid.com description: Twilio SendGrid Suppressions API — Unsubscribe Groups business capability. Self-contained, no shared references. resources: - name: v3-asm-groups path: /v3/asm/groups operations: - name: creatasmgroup method: POST description: Create a new suppression group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listasmgroup method: GET description: Retrieve all suppression groups associated with the user. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: query type: integer description: The ID of the suppression group(s) you want to retrieve. - name: v3-asm-groups-group_id path: /v3/asm/groups/{group_id} operations: - name: getasmgroup method: GET description: Get information on a single suppression group. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateasmgroup method: PATCH description: Update a suppression group. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteasmgroup method: DELETE description: Delete a Suppression Group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SENDGRID_API_KEY}}' exposes: - type: rest namespace: tsg_suppressions_v3-unsubscribe-groups-rest port: 8080 description: REST adapter for Twilio SendGrid Suppressions API — Unsubscribe Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/asm/groups name: v3-asm-groups description: REST surface for v3-asm-groups. operations: - method: POST name: creatasmgroup description: Create a new suppression group call: tsg_suppressions_v3-unsubscribe-groups.creatasmgroup with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listasmgroup description: Retrieve all suppression groups associated with the user. call: tsg_suppressions_v3-unsubscribe-groups.listasmgroup with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/v3/asm/groups/{group-id} name: v3-asm-groups-group-id description: REST surface for v3-asm-groups-group_id. operations: - method: GET name: getasmgroup description: Get information on a single suppression group. call: tsg_suppressions_v3-unsubscribe-groups.getasmgroup outputParameters: - type: object mapping: $. - method: PATCH name: updateasmgroup description: Update a suppression group. call: tsg_suppressions_v3-unsubscribe-groups.updateasmgroup with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteasmgroup description: Delete a Suppression Group call: tsg_suppressions_v3-unsubscribe-groups.deleteasmgroup outputParameters: - type: object mapping: $. - type: mcp namespace: tsg_suppressions_v3-unsubscribe-groups-mcp port: 9090 transport: http description: MCP adapter for Twilio SendGrid Suppressions API — Unsubscribe Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-suppression-group description: Create a new suppression group hints: readOnly: false destructive: false idempotent: false call: tsg_suppressions_v3-unsubscribe-groups.creatasmgroup with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-all-suppression-groups-associated description: Retrieve all suppression groups associated with the user. hints: readOnly: true destructive: false idempotent: true call: tsg_suppressions_v3-unsubscribe-groups.listasmgroup with: id: tools.id outputParameters: - type: object mapping: $. - name: get-information-single-suppression-group description: Get information on a single suppression group. hints: readOnly: true destructive: false idempotent: true call: tsg_suppressions_v3-unsubscribe-groups.getasmgroup outputParameters: - type: object mapping: $. - name: update-suppression-group description: Update a suppression group. hints: readOnly: false destructive: false idempotent: true call: tsg_suppressions_v3-unsubscribe-groups.updateasmgroup with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-suppression-group description: Delete a Suppression Group hints: readOnly: false destructive: true idempotent: true call: tsg_suppressions_v3-unsubscribe-groups.deleteasmgroup outputParameters: - type: object mapping: $.