naftiko: 1.0.0-alpha2 info: label: "Pok\xE9API \u2014 Encounters" description: "Pok\xE9API Encounters capability. 6 read-only operations covering the encounters resource family." tags: - "Pok\xE9API" - Encounters created: '2026-05-30' modified: '2026-05-30' capability: consumes: - type: http namespace: pokeapi-encounters baseUri: https://pokeapi.co/api/v2 description: "Pok\xE9API Encounters business capability. Self-contained, no shared references." resources: - name: pokeapi-encounter-method path: /encounter-method operations: - name: listencountermethods method: GET description: List Encounter Methods outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of items to return per page. - name: offset in: query type: integer description: Number of items to skip before starting to collect the result set. - name: pokeapi-encounter-method-id path: /encounter-method/{id} operations: - name: getencountermethod method: GET description: Get Encounter Method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true description: Resource id (integer) or name (slug). - name: pokeapi-encounter-condition path: /encounter-condition operations: - name: listencounterconditions method: GET description: List Encounter Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of items to return per page. - name: offset in: query type: integer description: Number of items to skip before starting to collect the result set. - name: pokeapi-encounter-condition-id path: /encounter-condition/{id} operations: - name: getencountercondition method: GET description: Get Encounter Condition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true description: Resource id (integer) or name (slug). - name: pokeapi-encounter-condition-value path: /encounter-condition-value operations: - name: listencounterconditionvalues method: GET description: List Encounter Condition Values outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of items to return per page. - name: offset in: query type: integer description: Number of items to skip before starting to collect the result set. - name: pokeapi-encounter-condition-value-id path: /encounter-condition-value/{id} operations: - name: getencounterconditionvalue method: GET description: Get Encounter Condition Value outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true description: Resource id (integer) or name (slug). authentication: type: none exposes: - type: rest namespace: pokeapi-encounters-rest port: 8080 description: "REST adapter for Pok\xE9API Encounters." resources: - path: /v1/encounter-method name: pokeapi-encounter-method description: REST surface for pokeapi-encounter-method. operations: - method: GET name: listencountermethods description: List Encounter Methods call: pokeapi-encounters.listencountermethods with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/encounter-method/{id} name: pokeapi-encounter-method-id description: REST surface for pokeapi-encounter-method-id. operations: - method: GET name: getencountermethod description: Get Encounter Method call: pokeapi-encounters.getencountermethod with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/encounter-condition name: pokeapi-encounter-condition description: REST surface for pokeapi-encounter-condition. operations: - method: GET name: listencounterconditions description: List Encounter Conditions call: pokeapi-encounters.listencounterconditions with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/encounter-condition/{id} name: pokeapi-encounter-condition-id description: REST surface for pokeapi-encounter-condition-id. operations: - method: GET name: getencountercondition description: Get Encounter Condition call: pokeapi-encounters.getencountercondition with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/encounter-condition-value name: pokeapi-encounter-condition-value description: REST surface for pokeapi-encounter-condition-value. operations: - method: GET name: listencounterconditionvalues description: List Encounter Condition Values call: pokeapi-encounters.listencounterconditionvalues with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/encounter-condition-value/{id} name: pokeapi-encounter-condition-value-id description: REST surface for pokeapi-encounter-condition-value-id. operations: - method: GET name: getencounterconditionvalue description: Get Encounter Condition Value call: pokeapi-encounters.getencounterconditionvalue with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: pokeapi-encounters-mcp port: 9090 transport: http description: "MCP adapter for Pok\xE9API Encounters." tools: - name: pokeapi-listencountermethods description: List Encounter Methods hints: readOnly: true destructive: false idempotent: true call: pokeapi-encounters.listencountermethods with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: pokeapi-getencountermethod description: Get Encounter Method hints: readOnly: true destructive: false idempotent: true call: pokeapi-encounters.getencountermethod with: id: tools.id outputParameters: - type: object mapping: $. - name: pokeapi-listencounterconditions description: List Encounter Conditions hints: readOnly: true destructive: false idempotent: true call: pokeapi-encounters.listencounterconditions with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: pokeapi-getencountercondition description: Get Encounter Condition hints: readOnly: true destructive: false idempotent: true call: pokeapi-encounters.getencountercondition with: id: tools.id outputParameters: - type: object mapping: $. - name: pokeapi-listencounterconditionvalues description: List Encounter Condition Values hints: readOnly: true destructive: false idempotent: true call: pokeapi-encounters.listencounterconditionvalues with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: pokeapi-getencounterconditionvalue description: Get Encounter Condition Value hints: readOnly: true destructive: false idempotent: true call: pokeapi-encounters.getencounterconditionvalue with: id: tools.id outputParameters: - type: object mapping: $.