naftiko: 1.0.0-alpha2 info: label: Load Balancer API — Private Networks description: 'Load Balancer API — Private Networks. 3 operations. Lead operation: Attach a Load Balancer to a Private Network. Self-contained Naftiko capability covering one Scaleway business surface.' tags: - Scaleway - Private Networks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SCALEWAY_API_KEY: SCALEWAY_API_KEY capability: consumes: - type: http namespace: load-balancer-private-networks baseUri: https://api.scaleway.com description: Load Balancer API — Private Networks business capability. Self-contained, no shared references. resources: - name: lb-v1-zones-zone-lbs-lb_id-attach-private-network path: /lb/v1/zones/{zone}/lbs/{lb_id}/attach-private-network operations: - name: attachprivatenetwork method: POST description: Attach a Load Balancer to a Private Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: lb_id in: path type: string description: Load Balancer ID. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: lb-v1-zones-zone-lbs-lb_id-detach-private-network path: /lb/v1/zones/{zone}/lbs/{lb_id}/detach-private-network operations: - name: detachprivatenetwork method: POST description: Detach Load Balancer from Private Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: lb_id in: path type: string description: Load balancer ID. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: lb-v1-zones-zone-lbs-lb_id-private-networks path: /lb/v1/zones/{zone}/lbs/{lb_id}/private-networks operations: - name: listlbprivatenetworks method: GET description: List Private Networks attached to a Load Balancer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: zone in: path type: string description: The zone you want to target required: true - name: lb_id in: path type: string description: Load Balancer ID. required: true - name: order_by in: query type: string description: Sort order of Private Network objects in the response. - name: page_size in: query type: integer description: Number of objects to return. - name: page in: query type: integer description: The page number to return, from the paginated results. authentication: type: apikey key: X-Auth-Token value: '{{env.SCALEWAY_API_KEY}}' placement: header exposes: - type: rest namespace: load-balancer-private-networks-rest port: 8080 description: REST adapter for Load Balancer API — Private Networks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/lb/v1/zones/{zone}/lbs/{lb-id}/attach-private-network name: lb-v1-zones-zone-lbs-lb-id-attach-private-network description: REST surface for lb-v1-zones-zone-lbs-lb_id-attach-private-network. operations: - method: POST name: attachprivatenetwork description: Attach a Load Balancer to a Private Network call: load-balancer-private-networks.attachprivatenetwork with: zone: rest.zone lb_id: rest.lb_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/lb/v1/zones/{zone}/lbs/{lb-id}/detach-private-network name: lb-v1-zones-zone-lbs-lb-id-detach-private-network description: REST surface for lb-v1-zones-zone-lbs-lb_id-detach-private-network. operations: - method: POST name: detachprivatenetwork description: Detach Load Balancer from Private Network call: load-balancer-private-networks.detachprivatenetwork with: zone: rest.zone lb_id: rest.lb_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/lb/v1/zones/{zone}/lbs/{lb-id}/private-networks name: lb-v1-zones-zone-lbs-lb-id-private-networks description: REST surface for lb-v1-zones-zone-lbs-lb_id-private-networks. operations: - method: GET name: listlbprivatenetworks description: List Private Networks attached to a Load Balancer call: load-balancer-private-networks.listlbprivatenetworks with: zone: rest.zone lb_id: rest.lb_id order_by: rest.order_by page_size: rest.page_size page: rest.page outputParameters: - type: object mapping: $. - type: mcp namespace: load-balancer-private-networks-mcp port: 9090 transport: http description: MCP adapter for Load Balancer API — Private Networks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: attach-load-balancer-private-network description: Attach a Load Balancer to a Private Network hints: readOnly: false destructive: false idempotent: false call: load-balancer-private-networks.attachprivatenetwork with: zone: tools.zone lb_id: tools.lb_id body: tools.body outputParameters: - type: object mapping: $. - name: detach-load-balancer-private-network description: Detach Load Balancer from Private Network hints: readOnly: false destructive: false idempotent: false call: load-balancer-private-networks.detachprivatenetwork with: zone: tools.zone lb_id: tools.lb_id body: tools.body outputParameters: - type: object mapping: $. - name: list-private-networks-attached-load description: List Private Networks attached to a Load Balancer hints: readOnly: true destructive: false idempotent: true call: load-balancer-private-networks.listlbprivatenetworks with: zone: tools.zone lb_id: tools.lb_id order_by: tools.order_by page_size: tools.page_size page: tools.page outputParameters: - type: object mapping: $.