WSO2 · Capability

WSO2 API Manager - Developer Portal — API Chat

WSO2 API Manager - Developer Portal — API Chat. 1 operations. Lead operation: Test API using a natural language query. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2API Chat

What You Can Do

POST
Apichatpost — Test API using a natural language query
/v1/apis/{apiid}/api-chat

MCP Tools

test-api-using-natural-language

Test API using a natural language query

read-only

Capability Spec

devportal-api-chat.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Developer Portal — API Chat
  description: 'WSO2 API Manager - Developer Portal — API Chat. 1 operations. Lead operation: Test API using a natural language
    query. Self-contained Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - API Chat
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: devportal-api-chat
    baseUri: https://apis.wso2.com/api/am/devportal/v3
    description: WSO2 API Manager - Developer Portal — API Chat business capability. Self-contained, no shared references.
    resources:
    - name: apis-apiId-api-chat
      path: /apis/{apiId}/api-chat
      operations:
      - name: apichatpost
        method: POST
        description: Test API using a natural language query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: devportal-api-chat-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Developer Portal — API Chat. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apis/{apiid}/api-chat
      name: apis-apiid-api-chat
      description: REST surface for apis-apiId-api-chat.
      operations:
      - method: POST
        name: apichatpost
        description: Test API using a natural language query
        call: devportal-api-chat.apichatpost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: devportal-api-chat-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Developer Portal — API Chat. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: test-api-using-natural-language
      description: Test API using a natural language query
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: devportal-api-chat.apichatpost
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.