APIs.io Engineering Platform Cloudflare API — Tunnel Routing

APIs.io Engineering Platform Cloudflare API — Tunnel Routing. 9 operations. Lead operation: APIs.io Engineering Platform List tunnel routes. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformTunnel Routing

What You Can Do

GET
Tunnelroutelisttunnelroutes — APIs.io Engineering Platform List tunnel routes
/v1/accounts/{account-id}/teamnet/routes
POST
Tunnelroutecreateatunnelroute — APIs.io Engineering Platform Create a tunnel route
/v1/accounts/{account-id}/teamnet/routes
GET
Tunnelroutegettunnelroutebyip — APIs.io Engineering Platform Get tunnel route by IP
/v1/accounts/{account-id}/teamnet/routes/ip/{ip}
DELETE
Tunnelroutedeleteatunnelroutewithcidr — APIs.io Engineering Platform Delete a tunnel route (CIDR Endpoint)
/v1/accounts/{account-id}/teamnet/routes/network/{ip-network-encoded}
PATCH
Tunnelrouteupdateatunnelroutewithcidr — APIs.io Engineering Platform Update a tunnel route (CIDR Endpoint)
/v1/accounts/{account-id}/teamnet/routes/network/{ip-network-encoded}
POST
Tunnelroutecreateatunnelroutewithcidr — APIs.io Engineering Platform Create a tunnel route (CIDR Endpoint)
/v1/accounts/{account-id}/teamnet/routes/network/{ip-network-encoded}
DELETE
Tunnelroutedeleteatunnelroute — APIs.io Engineering Platform Delete a tunnel route
/v1/accounts/{account-id}/teamnet/routes/{route-id}
GET
Tunnelroutegettunnelroute — APIs.io Engineering Platform Get tunnel route
/v1/accounts/{account-id}/teamnet/routes/{route-id}
PATCH
Tunnelrouteupdateatunnelroute — APIs.io Engineering Platform Update a tunnel route
/v1/accounts/{account-id}/teamnet/routes/{route-id}

MCP Tools

apis-io-engineering-platform-list-tunnel

APIs.io Engineering Platform List tunnel routes

read-only idempotent
apis-io-engineering-platform-create-tunnel

APIs.io Engineering Platform Create a tunnel route

apis-io-engineering-platform-get-tunnel

APIs.io Engineering Platform Get tunnel route by IP

read-only idempotent
apis-io-engineering-platform-delete-tunnel

APIs.io Engineering Platform Delete a tunnel route (CIDR Endpoint)

idempotent
apis-io-engineering-platform-update-tunnel

APIs.io Engineering Platform Update a tunnel route (CIDR Endpoint)

idempotent
apis-io-engineering-platform-create-tunnel-2

APIs.io Engineering Platform Create a tunnel route (CIDR Endpoint)

apis-io-engineering-platform-delete-tunnel-2

APIs.io Engineering Platform Delete a tunnel route

idempotent
apis-io-engineering-platform-get-tunnel-2

APIs.io Engineering Platform Get tunnel route

read-only idempotent
apis-io-engineering-platform-update-tunnel-2

APIs.io Engineering Platform Update a tunnel route

idempotent

Capability Spec

cloudflare-tunnel-routing.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform Cloudflare API — Tunnel Routing
  description: 'APIs.io Engineering Platform Cloudflare API — Tunnel Routing. 9 operations. Lead operation: APIs.io Engineering
    Platform List tunnel routes. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Tunnel Routing
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloudflare-tunnel-routing
    baseUri: ''
    description: APIs.io Engineering Platform Cloudflare API — Tunnel Routing business capability. Self-contained, no shared
      references.
    resources:
    - name: accounts-account_id-teamnet-routes
      path: /accounts/{account_id}/teamnet/routes
      operations:
      - name: tunnelroutelisttunnelroutes
        method: GET
        description: APIs.io Engineering Platform List tunnel routes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: comment
          in: query
          type: string
        - name: is_deleted
          in: query
          type: boolean
        - name: network_subset
          in: query
          type: string
        - name: network_superset
          in: query
          type: string
        - name: existed_at
          in: query
          type: string
        - name: tunnel_id
          in: query
          type: string
        - name: route_id
          in: query
          type: string
        - name: tun_types
          in: query
          type: string
        - name: virtual_network_id
          in: query
          type: string
        - name: per_page
          in: query
          type: string
        - name: page
          in: query
          type: number
      - name: tunnelroutecreateatunnelroute
        method: POST
        description: APIs.io Engineering Platform Create a tunnel route
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-teamnet-routes-ip-ip
      path: /accounts/{account_id}/teamnet/routes/ip/{ip}
      operations:
      - name: tunnelroutegettunnelroutebyip
        method: GET
        description: APIs.io Engineering Platform Get tunnel route by IP
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ip
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: virtual_network_id
          in: query
          type: string
    - name: accounts-account_id-teamnet-routes-network-ip_network_encoded
      path: /accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}
      operations:
      - name: tunnelroutedeleteatunnelroutewithcidr
        method: DELETE
        description: APIs.io Engineering Platform Delete a tunnel route (CIDR Endpoint)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ip_network_encoded
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: virtual_network_id
          in: query
          type: string
        - name: tun_type
          in: query
          type: string
        - name: tunnel_id
          in: query
          type: string
      - name: tunnelrouteupdateatunnelroutewithcidr
        method: PATCH
        description: APIs.io Engineering Platform Update a tunnel route (CIDR Endpoint)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ip_network_encoded
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
      - name: tunnelroutecreateatunnelroutewithcidr
        method: POST
        description: APIs.io Engineering Platform Create a tunnel route (CIDR Endpoint)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ip_network_encoded
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts-account_id-teamnet-routes-route_id
      path: /accounts/{account_id}/teamnet/routes/{route_id}
      operations:
      - name: tunnelroutedeleteatunnelroute
        method: DELETE
        description: APIs.io Engineering Platform Delete a tunnel route
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: route_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
      - name: tunnelroutegettunnelroute
        method: GET
        description: APIs.io Engineering Platform Get tunnel route
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: account_id
          in: path
          type: string
          required: true
        - name: route_id
          in: path
          type: string
          required: true
      - name: tunnelrouteupdateatunnelroute
        method: PATCH
        description: APIs.io Engineering Platform Update a tunnel route
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: route_id
          in: path
          type: string
          required: true
        - name: account_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloudflare-tunnel-routing-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform Cloudflare API — Tunnel Routing. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts/{account-id}/teamnet/routes
      name: accounts-account-id-teamnet-routes
      description: REST surface for accounts-account_id-teamnet-routes.
      operations:
      - method: GET
        name: tunnelroutelisttunnelroutes
        description: APIs.io Engineering Platform List tunnel routes
        call: cloudflare-tunnel-routing.tunnelroutelisttunnelroutes
        with:
          account_id: rest.account_id
          comment: rest.comment
          is_deleted: rest.is_deleted
          network_subset: rest.network_subset
          network_superset: rest.network_superset
          existed_at: rest.existed_at
          tunnel_id: rest.tunnel_id
          route_id: rest.route_id
          tun_types: rest.tun_types
          virtual_network_id: rest.virtual_network_id
          per_page: rest.per_page
          page: rest.page
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: tunnelroutecreateatunnelroute
        description: APIs.io Engineering Platform Create a tunnel route
        call: cloudflare-tunnel-routing.tunnelroutecreateatunnelroute
        with:
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/teamnet/routes/ip/{ip}
      name: accounts-account-id-teamnet-routes-ip-ip
      description: REST surface for accounts-account_id-teamnet-routes-ip-ip.
      operations:
      - method: GET
        name: tunnelroutegettunnelroutebyip
        description: APIs.io Engineering Platform Get tunnel route by IP
        call: cloudflare-tunnel-routing.tunnelroutegettunnelroutebyip
        with:
          ip: rest.ip
          account_id: rest.account_id
          virtual_network_id: rest.virtual_network_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/teamnet/routes/network/{ip-network-encoded}
      name: accounts-account-id-teamnet-routes-network-ip-network-encoded
      description: REST surface for accounts-account_id-teamnet-routes-network-ip_network_encoded.
      operations:
      - method: DELETE
        name: tunnelroutedeleteatunnelroutewithcidr
        description: APIs.io Engineering Platform Delete a tunnel route (CIDR Endpoint)
        call: cloudflare-tunnel-routing.tunnelroutedeleteatunnelroutewithcidr
        with:
          ip_network_encoded: rest.ip_network_encoded
          account_id: rest.account_id
          virtual_network_id: rest.virtual_network_id
          tun_type: rest.tun_type
          tunnel_id: rest.tunnel_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: tunnelrouteupdateatunnelroutewithcidr
        description: APIs.io Engineering Platform Update a tunnel route (CIDR Endpoint)
        call: cloudflare-tunnel-routing.tunnelrouteupdateatunnelroutewithcidr
        with:
          ip_network_encoded: rest.ip_network_encoded
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: tunnelroutecreateatunnelroutewithcidr
        description: APIs.io Engineering Platform Create a tunnel route (CIDR Endpoint)
        call: cloudflare-tunnel-routing.tunnelroutecreateatunnelroutewithcidr
        with:
          ip_network_encoded: rest.ip_network_encoded
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts/{account-id}/teamnet/routes/{route-id}
      name: accounts-account-id-teamnet-routes-route-id
      description: REST surface for accounts-account_id-teamnet-routes-route_id.
      operations:
      - method: DELETE
        name: tunnelroutedeleteatunnelroute
        description: APIs.io Engineering Platform Delete a tunnel route
        call: cloudflare-tunnel-routing.tunnelroutedeleteatunnelroute
        with:
          route_id: rest.route_id
          account_id: rest.account_id
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: tunnelroutegettunnelroute
        description: APIs.io Engineering Platform Get tunnel route
        call: cloudflare-tunnel-routing.tunnelroutegettunnelroute
        with:
          account_id: rest.account_id
          route_id: rest.route_id
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: tunnelrouteupdateatunnelroute
        description: APIs.io Engineering Platform Update a tunnel route
        call: cloudflare-tunnel-routing.tunnelrouteupdateatunnelroute
        with:
          route_id: rest.route_id
          account_id: rest.account_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloudflare-tunnel-routing-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform Cloudflare API — Tunnel Routing. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-tunnel
      description: APIs.io Engineering Platform List tunnel routes
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelroutelisttunnelroutes
      with:
        account_id: tools.account_id
        comment: tools.comment
        is_deleted: tools.is_deleted
        network_subset: tools.network_subset
        network_superset: tools.network_superset
        existed_at: tools.existed_at
        tunnel_id: tools.tunnel_id
        route_id: tools.route_id
        tun_types: tools.tun_types
        virtual_network_id: tools.virtual_network_id
        per_page: tools.per_page
        page: tools.page
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-tunnel
      description: APIs.io Engineering Platform Create a tunnel route
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-tunnel-routing.tunnelroutecreateatunnelroute
      with:
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-tunnel
      description: APIs.io Engineering Platform Get tunnel route by IP
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelroutegettunnelroutebyip
      with:
        ip: tools.ip
        account_id: tools.account_id
        virtual_network_id: tools.virtual_network_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-tunnel
      description: APIs.io Engineering Platform Delete a tunnel route (CIDR Endpoint)
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelroutedeleteatunnelroutewithcidr
      with:
        ip_network_encoded: tools.ip_network_encoded
        account_id: tools.account_id
        virtual_network_id: tools.virtual_network_id
        tun_type: tools.tun_type
        tunnel_id: tools.tunnel_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-tunnel
      description: APIs.io Engineering Platform Update a tunnel route (CIDR Endpoint)
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelrouteupdateatunnelroutewithcidr
      with:
        ip_network_encoded: tools.ip_network_encoded
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-tunnel-2
      description: APIs.io Engineering Platform Create a tunnel route (CIDR Endpoint)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: cloudflare-tunnel-routing.tunnelroutecreateatunnelroutewithcidr
      with:
        ip_network_encoded: tools.ip_network_encoded
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-tunnel-2
      description: APIs.io Engineering Platform Delete a tunnel route
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelroutedeleteatunnelroute
      with:
        route_id: tools.route_id
        account_id: tools.account_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-tunnel-2
      description: APIs.io Engineering Platform Get tunnel route
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelroutegettunnelroute
      with:
        account_id: tools.account_id
        route_id: tools.route_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-tunnel-2
      description: APIs.io Engineering Platform Update a tunnel route
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: cloudflare-tunnel-routing.tunnelrouteupdateatunnelroute
      with:
        route_id: tools.route_id
        account_id: tools.account_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.