naftiko: 1.0.0-alpha2 info: label: Twilio SendGrid Single Sign-On API — SSO Settings description: 'Twilio SendGrid Single Sign-On API — SSO Settings. 5 operations. Lead operation: Create an SSO Integration. Self-contained Naftiko capability covering one Sendgrid business surface.' tags: - Sendgrid - SSO Settings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENDGRID_API_KEY: SENDGRID_API_KEY capability: consumes: - type: http namespace: tsg_sso_v3-sso-settings baseUri: https://api.sendgrid.com description: Twilio SendGrid Single Sign-On API — SSO Settings business capability. Self-contained, no shared references. resources: - name: v3-sso-integrations path: /v3/sso/integrations operations: - name: createssointegration method: POST description: Create an SSO Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: listssointegration method: GET description: Get All SSO Integrations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: si in: query type: boolean description: If this parameter is set to `true`, the response will include the `completed_integration` field. - name: v3-sso-integrations-id path: /v3/sso/integrations/{id} operations: - name: getssointegration method: GET description: Get an SSO Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: si in: query type: boolean description: If this parameter is set to `true`, the response will include the `completed_integration` field. - name: updatessointegration method: PATCH description: Update an SSO Integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: si in: query type: boolean description: If this parameter is set to `true`, the response will include the `completed_integration` field. - name: body in: body type: object description: Request body (JSON). required: false - name: deletessointegration method: DELETE description: Delete an SSO Integration outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SENDGRID_API_KEY}}' exposes: - type: rest namespace: tsg_sso_v3-sso-settings-rest port: 8080 description: REST adapter for Twilio SendGrid Single Sign-On API — SSO Settings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/sso/integrations name: v3-sso-integrations description: REST surface for v3-sso-integrations. operations: - method: POST name: createssointegration description: Create an SSO Integration call: tsg_sso_v3-sso-settings.createssointegration with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listssointegration description: Get All SSO Integrations call: tsg_sso_v3-sso-settings.listssointegration with: si: rest.si outputParameters: - type: object mapping: $. - path: /v1/v3/sso/integrations/{id} name: v3-sso-integrations-id description: REST surface for v3-sso-integrations-id. operations: - method: GET name: getssointegration description: Get an SSO Integration call: tsg_sso_v3-sso-settings.getssointegration with: si: rest.si outputParameters: - type: object mapping: $. - method: PATCH name: updatessointegration description: Update an SSO Integration call: tsg_sso_v3-sso-settings.updatessointegration with: si: rest.si body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletessointegration description: Delete an SSO Integration call: tsg_sso_v3-sso-settings.deletessointegration outputParameters: - type: object mapping: $. - type: mcp namespace: tsg_sso_v3-sso-settings-mcp port: 9090 transport: http description: MCP adapter for Twilio SendGrid Single Sign-On API — SSO Settings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-sso-integration description: Create an SSO Integration hints: readOnly: false destructive: false idempotent: false call: tsg_sso_v3-sso-settings.createssointegration with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-sso-integrations description: Get All SSO Integrations hints: readOnly: true destructive: false idempotent: true call: tsg_sso_v3-sso-settings.listssointegration with: si: tools.si outputParameters: - type: object mapping: $. - name: get-sso-integration description: Get an SSO Integration hints: readOnly: true destructive: false idempotent: true call: tsg_sso_v3-sso-settings.getssointegration with: si: tools.si outputParameters: - type: object mapping: $. - name: update-sso-integration description: Update an SSO Integration hints: readOnly: false destructive: false idempotent: true call: tsg_sso_v3-sso-settings.updatessointegration with: si: tools.si body: tools.body outputParameters: - type: object mapping: $. - name: delete-sso-integration description: Delete an SSO Integration hints: readOnly: false destructive: true idempotent: true call: tsg_sso_v3-sso-settings.deletessointegration outputParameters: - type: object mapping: $.