naftiko: 1.0.0-alpha2 info: label: NATS Monitoring HTTP API — Leaf Nodes description: 'NATS Monitoring HTTP API — Leaf Nodes. 1 operations. Lead operation: Leaf node information. Self-contained Naftiko capability covering one Nats business surface.' tags: - Nats - Leaf Nodes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NATS_API_KEY: NATS_API_KEY capability: consumes: - type: http namespace: monitoring-leaf-nodes baseUri: http://localhost:8222 description: NATS Monitoring HTTP API — Leaf Nodes business capability. Self-contained, no shared references. resources: - name: leafz path: /leafz operations: - name: getleafz method: GET description: Leaf node information outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: subs in: query type: boolean exposes: - type: rest namespace: monitoring-leaf-nodes-rest port: 8080 description: REST adapter for NATS Monitoring HTTP API — Leaf Nodes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/leafz name: leafz description: REST surface for leafz. operations: - method: GET name: getleafz description: Leaf node information call: monitoring-leaf-nodes.getleafz with: subs: rest.subs outputParameters: - type: object mapping: $. - type: mcp namespace: monitoring-leaf-nodes-mcp port: 9090 transport: http description: MCP adapter for NATS Monitoring HTTP API — Leaf Nodes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: leaf-node-information description: Leaf node information hints: readOnly: true destructive: false idempotent: true call: monitoring-leaf-nodes.getleafz with: subs: tools.subs outputParameters: - type: object mapping: $.