Togai · Capability

Togai Apis — Pricing Rules

Togai Apis — Pricing Rules. 1 operations. Lead operation: List Pricing Rules by Price Plan Id and Pricing Schedule Id. Self-contained Naftiko capability covering one Togai business surface.

Run with Naftiko TogaiPricing Rules

What You Can Do

GET
Listpricingrulesbyscheduleid — List Pricing Rules by Price Plan Id and Pricing Schedule Id
/v1/price-plans/{price-plan-id}/pricing-schedules/{pricing-schedule-id}/pricing-rules

MCP Tools

list-pricing-rules-price-plan

List Pricing Rules by Price Plan Id and Pricing Schedule Id

read-only idempotent

Capability Spec

togai-pricing-rules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Togai Apis — Pricing Rules
  description: 'Togai Apis — Pricing Rules. 1 operations. Lead operation: List Pricing Rules by Price Plan Id and Pricing
    Schedule Id. Self-contained Naftiko capability covering one Togai business surface.'
  tags:
  - Togai
  - Pricing Rules
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TOGAI_API_KEY: TOGAI_API_KEY
capability:
  consumes:
  - type: http
    namespace: togai-pricing-rules
    baseUri: https://api.togai.com
    description: Togai Apis — Pricing Rules business capability. Self-contained, no shared references.
    resources:
    - name: price_plans-price_plan_id-pricing_schedules-pricing_schedule_id-pricing_rules
      path: /price_plans/{price_plan_id}/pricing_schedules/{pricing_schedule_id}/pricing_rules
      operations:
      - name: listpricingrulesbyscheduleid
        method: GET
        description: List Pricing Rules by Price Plan Id and Pricing Schedule Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.TOGAI_API_KEY}}'
  exposes:
  - type: rest
    namespace: togai-pricing-rules-rest
    port: 8080
    description: REST adapter for Togai Apis — Pricing Rules. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/price-plans/{price-plan-id}/pricing-schedules/{pricing-schedule-id}/pricing-rules
      name: price-plans-price-plan-id-pricing-schedules-pricing-schedule-id-pricing-rules
      description: REST surface for price_plans-price_plan_id-pricing_schedules-pricing_schedule_id-pricing_rules.
      operations:
      - method: GET
        name: listpricingrulesbyscheduleid
        description: List Pricing Rules by Price Plan Id and Pricing Schedule Id
        call: togai-pricing-rules.listpricingrulesbyscheduleid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: togai-pricing-rules-mcp
    port: 9090
    transport: http
    description: MCP adapter for Togai Apis — Pricing Rules. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-pricing-rules-price-plan
      description: List Pricing Rules by Price Plan Id and Pricing Schedule Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: togai-pricing-rules.listpricingrulesbyscheduleid
      outputParameters:
      - type: object
        mapping: $.