naftiko: 1.0.0-alpha2 info: label: Linkerd Tap API — Tap description: 'Linkerd Tap API — Tap. 2 operations. Lead operation: Linkerd Tap traffic in a namespace. Self-contained Naftiko capability covering one Linkerd business surface.' tags: - Linkerd - Tap created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LINKERD_API_KEY: LINKERD_API_KEY capability: consumes: - type: http namespace: tap-tap baseUri: https://kubernetes.default.svc/apis/tap.linkerd.io/v1alpha1 description: Linkerd Tap API — Tap business capability. Self-contained, no shared references. resources: - name: watch-namespaces-namespace-tap path: /watch/namespaces/{namespace}/tap operations: - name: tapnamespace method: POST description: Linkerd Tap traffic in a namespace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: namespace in: path type: string description: The Kubernetes namespace to tap required: true - name: body in: body type: object description: Request body (JSON). required: true - name: watch-namespaces-namespace-resource_type-resource_name-tap path: /watch/namespaces/{namespace}/{resource_type}/{resource_name}/tap operations: - name: tapresource method: POST description: Linkerd Tap traffic for a specific resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: namespace in: path type: string description: The Kubernetes namespace required: true - name: resource_type in: path type: string description: The Kubernetes resource type (e.g., deployments, pods) required: true - name: resource_name in: path type: string description: The name of the specific resource required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: tap-tap-rest port: 8080 description: REST adapter for Linkerd Tap API — Tap. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/watch/namespaces/{namespace}/tap name: watch-namespaces-namespace-tap description: REST surface for watch-namespaces-namespace-tap. operations: - method: POST name: tapnamespace description: Linkerd Tap traffic in a namespace call: tap-tap.tapnamespace with: namespace: rest.namespace body: rest.body outputParameters: - type: object mapping: $. - path: /v1/watch/namespaces/{namespace}/{resource-type}/{resource-name}/tap name: watch-namespaces-namespace-resource-type-resource-name-tap description: REST surface for watch-namespaces-namespace-resource_type-resource_name-tap. operations: - method: POST name: tapresource description: Linkerd Tap traffic for a specific resource call: tap-tap.tapresource with: namespace: rest.namespace resource_type: rest.resource_type resource_name: rest.resource_name body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: tap-tap-mcp port: 9090 transport: http description: MCP adapter for Linkerd Tap API — Tap. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: linkerd-tap-traffic-namespace description: Linkerd Tap traffic in a namespace hints: readOnly: false destructive: false idempotent: false call: tap-tap.tapnamespace with: namespace: tools.namespace body: tools.body outputParameters: - type: object mapping: $. - name: linkerd-tap-traffic-specific-resource description: Linkerd Tap traffic for a specific resource hints: readOnly: false destructive: false idempotent: false call: tap-tap.tapresource with: namespace: tools.namespace resource_type: tools.resource_type resource_name: tools.resource_name body: tools.body outputParameters: - type: object mapping: $.