Perenual · Capability

Perenual API — Pests

Perenual API — Pests. 1 operations. Lead operation: List pests and diseases. Self-contained Naftiko capability covering one Perenual business surface.

Run with Naftiko PerenualPests

What You Can Do

GET
Getpestdiseaselist — List pests and diseases
/v1/pest-disease-list

MCP Tools

list-pests-and-diseases

List pests and diseases

read-only idempotent

Capability Spec

perenual-pests.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Perenual API — Pests
  description: 'Perenual API — Pests. 1 operations. Lead operation: List pests and diseases. Self-contained Naftiko capability
    covering one Perenual business surface.'
  tags:
  - Perenual
  - Pests
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PERENUAL_API_KEY: PERENUAL_API_KEY
capability:
  consumes:
  - type: http
    namespace: perenual-pests
    baseUri: https://perenual.com/api/v2
    description: Perenual API — Pests business capability. Self-contained, no shared references.
    resources:
    - name: pest-disease-list
      path: /pest-disease-list
      operations:
      - name: getpestdiseaselist
        method: GET
        description: List pests and diseases
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: query
          type: integer
        - name: page
          in: query
          type: integer
        - name: q
          in: query
          type: string
    authentication:
      type: apikey
      key: key
      value: '{{env.PERENUAL_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: perenual-pests-rest
    port: 8080
    description: REST adapter for Perenual API — Pests. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/pest-disease-list
      name: pest-disease-list
      description: REST surface for pest-disease-list.
      operations:
      - method: GET
        name: getpestdiseaselist
        description: List pests and diseases
        call: perenual-pests.getpestdiseaselist
        with:
          id: rest.id
          page: rest.page
          q: rest.q
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: perenual-pests-mcp
    port: 9090
    transport: http
    description: MCP adapter for Perenual API — Pests. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-pests-and-diseases
      description: List pests and diseases
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: perenual-pests.getpestdiseaselist
      with:
        id: tools.id
        page: tools.page
        q: tools.q
      outputParameters:
      - type: object
        mapping: $.