WSO2 · Capability

WSO2 API Manager - Admin — LLMProviders

WSO2 API Manager - Admin — LLMProviders. 2 operations. Lead operation: Get all LLM providers. Self-contained Naftiko capability covering one Wso2 business surface.

Run with Naftiko Wso2LLMProviders

What You Can Do

GET
Getllmproviders — Get all LLM providers
/v1/llm-providers
POST
Addllmprovider — Add a LLM provider
/v1/llm-providers

MCP Tools

get-all-llm-providers

Get all LLM providers

read-only idempotent
add-llm-provider

Add a LLM provider

Capability Spec

admin-llmproviders.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WSO2 API Manager - Admin — LLMProviders
  description: 'WSO2 API Manager - Admin — LLMProviders. 2 operations. Lead operation: Get all LLM providers. Self-contained
    Naftiko capability covering one Wso2 business surface.'
  tags:
  - Wso2
  - LLMProviders
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WSO2_API_KEY: WSO2_API_KEY
capability:
  consumes:
  - type: http
    namespace: admin-llmproviders
    baseUri: https://apis.wso2.com/api/am/admin/v4
    description: WSO2 API Manager - Admin — LLMProviders business capability. Self-contained, no shared references.
    resources:
    - name: llm-providers
      path: /llm-providers
      operations:
      - name: getllmproviders
        method: GET
        description: Get all LLM providers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addllmprovider
        method: POST
        description: Add a LLM provider
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.WSO2_API_KEY}}'
  exposes:
  - type: rest
    namespace: admin-llmproviders-rest
    port: 8080
    description: REST adapter for WSO2 API Manager - Admin — LLMProviders. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/llm-providers
      name: llm-providers
      description: REST surface for llm-providers.
      operations:
      - method: GET
        name: getllmproviders
        description: Get all LLM providers
        call: admin-llmproviders.getllmproviders
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: addllmprovider
        description: Add a LLM provider
        call: admin-llmproviders.addllmprovider
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: admin-llmproviders-mcp
    port: 9090
    transport: http
    description: MCP adapter for WSO2 API Manager - Admin — LLMProviders. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-all-llm-providers
      description: Get all LLM providers
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: admin-llmproviders.getllmproviders
      outputParameters:
      - type: object
        mapping: $.
    - name: add-llm-provider
      description: Add a LLM provider
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: admin-llmproviders.addllmprovider
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.