naftiko: 1.0.0-alpha2 info: label: Weave Net HTTP API — Network description: 'Weave Net HTTP API — Network. 1 operations. Lead operation: Weave Net Expose Network. Self-contained Naftiko capability covering one Weave Net business surface.' tags: - Weave Net - Network created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WEAVE_NET_API_KEY: WEAVE_NET_API_KEY capability: consumes: - type: http namespace: weave-net-network baseUri: http://127.0.0.1:6784 description: Weave Net HTTP API — Network business capability. Self-contained, no shared references. resources: - name: expose-cidr path: /expose/{cidr} operations: - name: exposenetwork method: POST description: Weave Net Expose Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cidr in: path type: string description: IP address and subnet in CIDR notation (e.g., 10.32.0.1/12) required: true exposes: - type: rest namespace: weave-net-network-rest port: 8080 description: REST adapter for Weave Net HTTP API — Network. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/expose/{cidr} name: expose-cidr description: REST surface for expose-cidr. operations: - method: POST name: exposenetwork description: Weave Net Expose Network call: weave-net-network.exposenetwork with: cidr: rest.cidr outputParameters: - type: object mapping: $. - type: mcp namespace: weave-net-network-mcp port: 9090 transport: http description: MCP adapter for Weave Net HTTP API — Network. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: weave-net-expose-network description: Weave Net Expose Network hints: readOnly: false destructive: false idempotent: false call: weave-net-network.exposenetwork with: cidr: tools.cidr outputParameters: - type: object mapping: $.