Twilio · Capability

Twilio - Events — Schemas

Twilio - Events — Schemas. 3 operations. Lead operation: Schemas. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioSchemas

What You Can Do

GET
Fetchschema — Fetch a specific schema with its nested versions.
/v1/v1/schemas/{id}
GET
Listschemaversion — Retrieve a paginated list of versions of the schema.
/v1/v1/schemas/{id}/versions
GET
Fetchschemaversion — Fetch a specific schema and version.
/v1/v1/schemas/{id}/versions/{schemaversion}

MCP Tools

fetch-specific-schema-its-nested

Fetch a specific schema with its nested versions.

read-only idempotent
retrieve-paginated-list-versions-schema

Retrieve a paginated list of versions of the schema.

read-only idempotent
fetch-specific-schema-and-version

Fetch a specific schema and version.

read-only idempotent

Capability Spec

events-schemas.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Events — Schemas
  description: 'Twilio - Events — Schemas. 3 operations. Lead operation: Schemas. Self-contained Naftiko capability covering
    one Twilio business surface.'
  tags:
  - Twilio
  - Schemas
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: events-schemas
    baseUri: https://events.twilio.com
    description: Twilio - Events — Schemas business capability. Self-contained, no shared references.
    resources:
    - name: v1-Schemas-Id
      path: /v1/Schemas/{Id}
      operations:
      - name: fetchschema
        method: GET
        description: Fetch a specific schema with its nested versions.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Id
          in: path
          type: string
          description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
          required: true
    - name: v1-Schemas-Id-Versions
      path: /v1/Schemas/{Id}/Versions
      operations:
      - name: listschemaversion
        method: GET
        description: Retrieve a paginated list of versions of the schema.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Id
          in: path
          type: string
          description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
          required: true
        - name: PageSize
          in: query
          type: integer
          description: How many resources to return in each list page. The default is 50, and the maximum is 1000.
        - name: Page
          in: query
          type: integer
          description: The page index. This value is simply for client state.
        - name: PageToken
          in: query
          type: string
          description: The page token. This is provided by the API.
    - name: v1-Schemas-Id-Versions-SchemaVersion
      path: /v1/Schemas/{Id}/Versions/{SchemaVersion}
      operations:
      - name: fetchschemaversion
        method: GET
        description: Fetch a specific schema and version.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Id
          in: path
          type: string
          description: The unique identifier of the schema. Each schema can have multiple versions, that share the same id.
          required: true
        - name: SchemaVersion
          in: path
          type: integer
          description: The version of the schema
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: events-schemas-rest
    port: 8080
    description: REST adapter for Twilio - Events — Schemas. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/schemas/{id}
      name: v1-schemas-id
      description: REST surface for v1-Schemas-Id.
      operations:
      - method: GET
        name: fetchschema
        description: Fetch a specific schema with its nested versions.
        call: events-schemas.fetchschema
        with:
          Id: rest.Id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/schemas/{id}/versions
      name: v1-schemas-id-versions
      description: REST surface for v1-Schemas-Id-Versions.
      operations:
      - method: GET
        name: listschemaversion
        description: Retrieve a paginated list of versions of the schema.
        call: events-schemas.listschemaversion
        with:
          Id: rest.Id
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/schemas/{id}/versions/{schemaversion}
      name: v1-schemas-id-versions-schemaversion
      description: REST surface for v1-Schemas-Id-Versions-SchemaVersion.
      operations:
      - method: GET
        name: fetchschemaversion
        description: Fetch a specific schema and version.
        call: events-schemas.fetchschemaversion
        with:
          Id: rest.Id
          SchemaVersion: rest.SchemaVersion
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: events-schemas-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Events — Schemas. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: fetch-specific-schema-its-nested
      description: Fetch a specific schema with its nested versions.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: events-schemas.fetchschema
      with:
        Id: tools.Id
      outputParameters:
      - type: object
        mapping: $.
    - name: retrieve-paginated-list-versions-schema
      description: Retrieve a paginated list of versions of the schema.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: events-schemas.listschemaversion
      with:
        Id: tools.Id
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-specific-schema-and-version
      description: Fetch a specific schema and version.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: events-schemas.fetchschemaversion
      with:
        Id: tools.Id
        SchemaVersion: tools.SchemaVersion
      outputParameters:
      - type: object
        mapping: $.