Twilio · Capability

Twilio - Supersim — Networks

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

Run with Naftiko TwilioNetworks

What You Can Do

GET
Listnetwork — Retrieve a list of Network resources.
/v1/v1/networks
GET
Fetchnetwork — Fetch a Network resource.
/v1/v1/networks/{sid}

MCP Tools

retrieve-list-network-resources

Retrieve a list of Network resources.

read-only idempotent
fetch-network-resource

Fetch a Network resource.

read-only idempotent

Capability Spec

super-sim-networks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Twilio - Supersim — Networks
  description: 'Twilio - Supersim — Networks. 2 operations. Lead operation: Networks. Self-contained Naftiko capability covering
    one Twilio business surface.'
  tags:
  - Twilio
  - Networks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TWILIO_API_KEY: TWILIO_API_KEY
capability:
  consumes:
  - type: http
    namespace: super-sim-networks
    baseUri: https://supersim.twilio.com
    description: Twilio - Supersim — Networks business capability. Self-contained, no shared references.
    resources:
    - name: v1-Networks
      path: /v1/Networks
      operations:
      - name: listnetwork
        method: GET
        description: Retrieve a list of Network resources.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: IsoCountry
          in: query
          type: string
          description: The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the Network resources to
            read.
        - name: Mcc
          in: query
          type: string
          description: The 'mobile country code' of a country. Network resources with this `mcc` in their `identifiers` will
            be read.
        - name: Mnc
          in: query
          type: string
          description: The 'mobile network code' of a mobile operator network. Network resources with this `mnc` in their
            `identifiers` will be read.
        - 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-Networks-Sid
      path: /v1/Networks/{Sid}
      operations:
      - name: fetchnetwork
        method: GET
        description: Fetch a Network resource.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Sid
          in: path
          type: string
          description: The SID of the Network resource to fetch.
          required: true
    authentication:
      type: basic
      username: '{{env.TWILIO_USER}}'
      password: '{{env.TWILIO_PASS}}'
  exposes:
  - type: rest
    namespace: super-sim-networks-rest
    port: 8080
    description: REST adapter for Twilio - Supersim — Networks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/networks
      name: v1-networks
      description: REST surface for v1-Networks.
      operations:
      - method: GET
        name: listnetwork
        description: Retrieve a list of Network resources.
        call: super-sim-networks.listnetwork
        with:
          IsoCountry: rest.IsoCountry
          Mcc: rest.Mcc
          Mnc: rest.Mnc
          PageSize: rest.PageSize
          Page: rest.Page
          PageToken: rest.PageToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/networks/{sid}
      name: v1-networks-sid
      description: REST surface for v1-Networks-Sid.
      operations:
      - method: GET
        name: fetchnetwork
        description: Fetch a Network resource.
        call: super-sim-networks.fetchnetwork
        with:
          Sid: rest.Sid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: super-sim-networks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Twilio - Supersim — Networks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: retrieve-list-network-resources
      description: Retrieve a list of Network resources.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: super-sim-networks.listnetwork
      with:
        IsoCountry: tools.IsoCountry
        Mcc: tools.Mcc
        Mnc: tools.Mnc
        PageSize: tools.PageSize
        Page: tools.Page
        PageToken: tools.PageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: fetch-network-resource
      description: Fetch a Network resource.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: super-sim-networks.fetchnetwork
      with:
        Sid: tools.Sid
      outputParameters:
      - type: object
        mapping: $.