naftiko: 1.0.0-alpha2 info: label: Juniper Networks Juniper Contrail Networking API — Network Policies description: 'Juniper Networks Juniper Contrail Networking API — Network Policies. 2 operations. Lead operation: Juniper Networks List network policies. Self-contained Naftiko capability covering one Juniper business surface.' tags: - Juniper - Network Policies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: JUNIPER_API_KEY: JUNIPER_API_KEY capability: consumes: - type: http namespace: contrail-network-policies baseUri: https://{contrail_controller}:8082 description: Juniper Networks Juniper Contrail Networking API — Network Policies business capability. Self-contained, no shared references. resources: - name: network-policys path: /network-policys operations: - name: listnetworkpolicies method: GET description: Juniper Networks List network policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnetworkpolicy method: POST description: Juniper Networks Create network policy 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.JUNIPER_API_KEY}}' exposes: - type: rest namespace: contrail-network-policies-rest port: 8080 description: REST adapter for Juniper Networks Juniper Contrail Networking API — Network Policies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/network-policys name: network-policys description: REST surface for network-policys. operations: - method: GET name: listnetworkpolicies description: Juniper Networks List network policies call: contrail-network-policies.listnetworkpolicies outputParameters: - type: object mapping: $. - method: POST name: createnetworkpolicy description: Juniper Networks Create network policy call: contrail-network-policies.createnetworkpolicy with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: contrail-network-policies-mcp port: 9090 transport: http description: MCP adapter for Juniper Networks Juniper Contrail Networking API — Network Policies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: juniper-networks-list-network-policies description: Juniper Networks List network policies hints: readOnly: true destructive: false idempotent: true call: contrail-network-policies.listnetworkpolicies outputParameters: - type: object mapping: $. - name: juniper-networks-create-network-policy description: Juniper Networks Create network policy hints: readOnly: false destructive: false idempotent: false call: contrail-network-policies.createnetworkpolicy with: body: tools.body outputParameters: - type: object mapping: $.