Oracle Cloud Networking API — Internet Gateways

Oracle Cloud Networking API — Internet Gateways. 2 operations. Lead operation: Oracle Cloud List Internet Gateways. Self-contained Naftiko capability covering one Oracle Cloud business surface.

Run with Naftiko Oracle CloudInternet Gateways

What You Can Do

GET
Listinternetgateways — Oracle Cloud List Internet Gateways
/v1/internetgateways
POST
Createinternetgateway — Oracle Cloud Create Internet Gateway
/v1/internetgateways

MCP Tools

oracle-cloud-list-internet-gateways

Oracle Cloud List Internet Gateways

read-only idempotent
oracle-cloud-create-internet-gateway

Oracle Cloud Create Internet Gateway

Capability Spec

networking-internet-gateways.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Oracle Cloud Networking API — Internet Gateways
  description: 'Oracle Cloud Networking API — Internet Gateways. 2 operations. Lead operation: Oracle Cloud List Internet
    Gateways. Self-contained Naftiko capability covering one Oracle Cloud business surface.'
  tags:
  - Oracle Cloud
  - Internet Gateways
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ORACLE_CLOUD_API_KEY: ORACLE_CLOUD_API_KEY
capability:
  consumes:
  - type: http
    namespace: networking-internet-gateways
    baseUri: https://iaas.{region}.oraclecloud.com/20160918
    description: Oracle Cloud Networking API — Internet Gateways business capability. Self-contained, no shared references.
    resources:
    - name: internetGateways
      path: /internetGateways
      operations:
      - name: listinternetgateways
        method: GET
        description: Oracle Cloud List Internet Gateways
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: compartmentId
          in: query
          type: string
          description: The OCID of the compartment.
          required: true
        - name: vcnId
          in: query
          type: string
          description: The OCID of the VCN.
      - name: createinternetgateway
        method: POST
        description: Oracle Cloud Create Internet Gateway
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.ORACLE_CLOUD_API_KEY}}'
  exposes:
  - type: rest
    namespace: networking-internet-gateways-rest
    port: 8080
    description: REST adapter for Oracle Cloud Networking API — Internet Gateways. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/internetgateways
      name: internetgateways
      description: REST surface for internetGateways.
      operations:
      - method: GET
        name: listinternetgateways
        description: Oracle Cloud List Internet Gateways
        call: networking-internet-gateways.listinternetgateways
        with:
          compartmentId: rest.compartmentId
          vcnId: rest.vcnId
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createinternetgateway
        description: Oracle Cloud Create Internet Gateway
        call: networking-internet-gateways.createinternetgateway
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: networking-internet-gateways-mcp
    port: 9090
    transport: http
    description: MCP adapter for Oracle Cloud Networking API — Internet Gateways. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: oracle-cloud-list-internet-gateways
      description: Oracle Cloud List Internet Gateways
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: networking-internet-gateways.listinternetgateways
      with:
        compartmentId: tools.compartmentId
        vcnId: tools.vcnId
      outputParameters:
      - type: object
        mapping: $.
    - name: oracle-cloud-create-internet-gateway
      description: Oracle Cloud Create Internet Gateway
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: networking-internet-gateways.createinternetgateway
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.