Twilio · Capability

Twilio - Trusthub — SupportingDocumentTypes

Twilio - Trusthub — SupportingDocumentTypes. 2 operations. Lead operation: SupportingDocumentTypes. Self-contained Naftiko capability covering one Twilio business surface.

Run with Naftiko TwilioSupportingDocumentTypes

What You Can Do

GET
Listsupportingdocumenttype — Retrieve a list of all Supporting Document Types.
/v1/v1/supportingdocumenttypes
GET
Fetchsupportingdocumenttype — Fetch a specific Supporting Document Type Instance.
/v1/v1/supportingdocumenttypes/{sid}

MCP Tools

retrieve-list-all-supporting-document

Retrieve a list of all Supporting Document Types.

read-only idempotent
fetch-specific-supporting-document-type

Fetch a specific Supporting Document Type Instance.

read-only idempotent

Capability Spec

trust-hub-supportingdocumenttypes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Trusthub — SupportingDocumentTypes
  description: 'Twilio - Trusthub — SupportingDocumentTypes. 2 operations. Lead operation: SupportingDocumentTypes. Self-contained
    Naftiko capability covering one Twilio business surface.'
  tags:
  - Twilio
  - SupportingDocumentTypes
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: trust-hub-supportingdocumenttypes
    baseUri: https://trusthub.twilio.com
    description: Twilio - Trusthub — SupportingDocumentTypes business capability. Self-contained, no shared references.
    resources:
    - name: v1-SupportingDocumentTypes
      path: /v1/SupportingDocumentTypes
      operations:
      - name: listsupportingdocumenttype
        method: GET
        description: Retrieve a list of all Supporting Document Types.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-SupportingDocumentTypes-Sid
      path: /v1/SupportingDocumentTypes/{Sid}
      operations:
      - name: fetchsupportingdocumenttype
        method: GET
        description: Fetch a specific Supporting Document Type Instance.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The unique string that identifies the Supporting Document Type resource.
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: trust-hub-supportingdocumenttypes-rest
    port: 8080
    description: REST adapter for Twilio - Trusthub — SupportingDocumentTypes. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/v1/supportingdocumenttypes
      name: v1-supportingdocumenttypes
      description: REST surface for v1-SupportingDocumentTypes.
      operations:
      - method: GET
        name: listsupportingdocumenttype
        description: Retrieve a list of all Supporting Document Types.
        call: trust-hub-supportingdocumenttypes.listsupportingdocumenttype
        with:
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/supportingdocumenttypes/{sid}
      name: v1-supportingdocumenttypes-sid
      description: REST surface for v1-SupportingDocumentTypes-Sid.
      operations:
      - method: GET
        name: fetchsupportingdocumenttype
        description: Fetch a specific Supporting Document Type Instance.
        call: trust-hub-supportingdocumenttypes.fetchsupportingdocumenttype
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: trust-hub-supportingdocumenttypes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Trusthub — SupportingDocumentTypes. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: retrieve-list-all-supporting-document
      description: Retrieve a list of all Supporting Document Types.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: trust-hub-supportingdocumenttypes.listsupportingdocumenttype
      with:
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-specific-supporting-document-type
      description: Fetch a specific Supporting Document Type Instance.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: trust-hub-supportingdocumenttypes.fetchsupportingdocumenttype
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.