naftiko: 1.0.0-alpha2 info: label: SigNoz — routepolicies description: 'SigNoz — routepolicies. 5 operations. Lead operation: List route policies. Self-contained Naftiko capability covering one Signoz business surface.' tags: - Signoz - routepolicies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SIGNOZ_API_KEY: SIGNOZ_API_KEY capability: consumes: - type: http namespace: signoz-routepolicies baseUri: https://{host}:{port}{base_path} description: SigNoz — routepolicies business capability. Self-contained, no shared references. resources: - name: api-v1-route_policies path: /api/v1/route_policies operations: - name: getallroutepolicies method: GET description: List route policies outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createroutepolicy method: POST description: Create route policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-v1-route_policies-id path: /api/v1/route_policies/{id} operations: - name: deleteroutepolicybyid method: DELETE description: Delete route policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: getroutepolicybyid method: GET description: Get route policy by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: updateroutepolicy method: PUT description: Update route policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.SIGNOZ_API_KEY}}' exposes: - type: rest namespace: signoz-routepolicies-rest port: 8080 description: REST adapter for SigNoz — routepolicies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/route-policies name: api-v1-route-policies description: REST surface for api-v1-route_policies. operations: - method: GET name: getallroutepolicies description: List route policies call: signoz-routepolicies.getallroutepolicies outputParameters: - type: object mapping: $. - method: POST name: createroutepolicy description: Create route policy call: signoz-routepolicies.createroutepolicy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/route-policies/{id} name: api-v1-route-policies-id description: REST surface for api-v1-route_policies-id. operations: - method: DELETE name: deleteroutepolicybyid description: Delete route policy call: signoz-routepolicies.deleteroutepolicybyid with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: getroutepolicybyid description: Get route policy by ID call: signoz-routepolicies.getroutepolicybyid with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: updateroutepolicy description: Update route policy call: signoz-routepolicies.updateroutepolicy with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: signoz-routepolicies-mcp port: 9090 transport: http description: MCP adapter for SigNoz — routepolicies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-route-policies description: List route policies hints: readOnly: true destructive: false idempotent: true call: signoz-routepolicies.getallroutepolicies outputParameters: - type: object mapping: $. - name: create-route-policy description: Create route policy hints: readOnly: false destructive: false idempotent: false call: signoz-routepolicies.createroutepolicy with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-route-policy description: Delete route policy hints: readOnly: false destructive: true idempotent: true call: signoz-routepolicies.deleteroutepolicybyid with: id: tools.id outputParameters: - type: object mapping: $. - name: get-route-policy-id description: Get route policy by ID hints: readOnly: true destructive: false idempotent: true call: signoz-routepolicies.getroutepolicybyid with: id: tools.id outputParameters: - type: object mapping: $. - name: update-route-policy description: Update route policy hints: readOnly: false destructive: false idempotent: true call: signoz-routepolicies.updateroutepolicy with: id: tools.id body: tools.body outputParameters: - type: object mapping: $.