naftiko: 1.0.0-alpha2 info: label: Twilio SendGrid Marketing Campaigns Designs — Designs description: 'Twilio SendGrid Marketing Campaigns Designs — Designs. 9 operations. Lead operation: Create Design. Self-contained Naftiko capability covering one Sendgrid business surface.' tags: - Sendgrid - Designs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENDGRID_API_KEY: SENDGRID_API_KEY capability: consumes: - type: http namespace: tsg_mc_designs_v3-designs baseUri: https://api.sendgrid.com description: Twilio SendGrid Marketing Campaigns Designs — Designs business capability. Self-contained, no shared references. resources: - name: v3-designs path: /v3/designs operations: - name: createdesign method: POST description: Create Design outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listdesign method: GET description: List Designs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-designs-pre-builts path: /v3/designs/pre-builts operations: - name: listprebuiltdesign method: GET description: List SendGrid Pre-built Designs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-designs-pre-builts-id path: /v3/designs/pre-builts/{id} operations: - name: duplicateprebuiltdesign method: POST description: Duplicate SendGrid Pre-built Design outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: getprebuiltdesign method: GET description: Get SendGrid Pre-built Design outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v3-designs-id path: /v3/designs/{id} operations: - name: duplicatedesign method: POST description: Duplicate Design outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: getdesign method: GET description: Get Design outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatedesign method: PATCH description: Update Design outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletedesign method: DELETE description: Delete Design outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SENDGRID_API_KEY}}' exposes: - type: rest namespace: tsg_mc_designs_v3-designs-rest port: 8080 description: REST adapter for Twilio SendGrid Marketing Campaigns Designs — Designs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/designs name: v3-designs description: REST surface for v3-designs. operations: - method: POST name: createdesign description: Create Design call: tsg_mc_designs_v3-designs.createdesign with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listdesign description: List Designs call: tsg_mc_designs_v3-designs.listdesign outputParameters: - type: object mapping: $. - path: /v1/v3/designs/pre-builts name: v3-designs-pre-builts description: REST surface for v3-designs-pre-builts. operations: - method: GET name: listprebuiltdesign description: List SendGrid Pre-built Designs call: tsg_mc_designs_v3-designs.listprebuiltdesign outputParameters: - type: object mapping: $. - path: /v1/v3/designs/pre-builts/{id} name: v3-designs-pre-builts-id description: REST surface for v3-designs-pre-builts-id. operations: - method: POST name: duplicateprebuiltdesign description: Duplicate SendGrid Pre-built Design call: tsg_mc_designs_v3-designs.duplicateprebuiltdesign with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getprebuiltdesign description: Get SendGrid Pre-built Design call: tsg_mc_designs_v3-designs.getprebuiltdesign outputParameters: - type: object mapping: $. - path: /v1/v3/designs/{id} name: v3-designs-id description: REST surface for v3-designs-id. operations: - method: POST name: duplicatedesign description: Duplicate Design call: tsg_mc_designs_v3-designs.duplicatedesign with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getdesign description: Get Design call: tsg_mc_designs_v3-designs.getdesign outputParameters: - type: object mapping: $. - method: PATCH name: updatedesign description: Update Design call: tsg_mc_designs_v3-designs.updatedesign with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedesign description: Delete Design call: tsg_mc_designs_v3-designs.deletedesign outputParameters: - type: object mapping: $. - type: mcp namespace: tsg_mc_designs_v3-designs-mcp port: 9090 transport: http description: MCP adapter for Twilio SendGrid Marketing Campaigns Designs — Designs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-design description: Create Design hints: readOnly: false destructive: false idempotent: false call: tsg_mc_designs_v3-designs.createdesign with: body: tools.body outputParameters: - type: object mapping: $. - name: list-designs description: List Designs hints: readOnly: true destructive: false idempotent: true call: tsg_mc_designs_v3-designs.listdesign outputParameters: - type: object mapping: $. - name: list-sendgrid-pre-built-designs description: List SendGrid Pre-built Designs hints: readOnly: true destructive: false idempotent: true call: tsg_mc_designs_v3-designs.listprebuiltdesign outputParameters: - type: object mapping: $. - name: duplicate-sendgrid-pre-built-design description: Duplicate SendGrid Pre-built Design hints: readOnly: false destructive: false idempotent: false call: tsg_mc_designs_v3-designs.duplicateprebuiltdesign with: body: tools.body outputParameters: - type: object mapping: $. - name: get-sendgrid-pre-built-design description: Get SendGrid Pre-built Design hints: readOnly: true destructive: false idempotent: true call: tsg_mc_designs_v3-designs.getprebuiltdesign outputParameters: - type: object mapping: $. - name: duplicate-design description: Duplicate Design hints: readOnly: false destructive: false idempotent: false call: tsg_mc_designs_v3-designs.duplicatedesign with: body: tools.body outputParameters: - type: object mapping: $. - name: get-design description: Get Design hints: readOnly: true destructive: false idempotent: true call: tsg_mc_designs_v3-designs.getdesign outputParameters: - type: object mapping: $. - name: update-design description: Update Design hints: readOnly: false destructive: false idempotent: true call: tsg_mc_designs_v3-designs.updatedesign with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-design description: Delete Design hints: readOnly: false destructive: true idempotent: true call: tsg_mc_designs_v3-designs.deletedesign outputParameters: - type: object mapping: $.