CharityAPI · Capability

CharityAPI — Autocomplete

CharityAPI — Autocomplete. 1 operations. Lead operation: Autocomplete organization names. Self-contained Naftiko capability covering one Charityapi business surface.

Run with Naftiko CharityapiAutocomplete

What You Can Do

GET
Autocompleteorganizations — Autocomplete organization names
/v1/organizations/autocomplete/{term}

MCP Tools

autocomplete-organization-names

Autocomplete organization names

read-only idempotent

Capability Spec

charityapi-autocomplete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: CharityAPI — Autocomplete
  description: 'CharityAPI — Autocomplete. 1 operations. Lead operation: Autocomplete organization names. Self-contained Naftiko
    capability covering one Charityapi business surface.'
  tags:
  - Charityapi
  - Autocomplete
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    CHARITYAPI_API_KEY: CHARITYAPI_API_KEY
capability:
  consumes:
  - type: http
    namespace: charityapi-autocomplete
    baseUri: https://api.charityapi.org/api
    description: CharityAPI — Autocomplete business capability. Self-contained, no shared references.
    resources:
    - name: organizations-autocomplete-term
      path: /organizations/autocomplete/{term}
      operations:
      - name: autocompleteorganizations
        method: GET
        description: Autocomplete organization names
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: term
          in: path
          type: string
          description: Partial organization name to match.
          required: true
    authentication:
      type: apikey
      key: apikey
      value: '{{env.CHARITYAPI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: charityapi-autocomplete-rest
    port: 8080
    description: REST adapter for CharityAPI — Autocomplete. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/organizations/autocomplete/{term}
      name: organizations-autocomplete-term
      description: REST surface for organizations-autocomplete-term.
      operations:
      - method: GET
        name: autocompleteorganizations
        description: Autocomplete organization names
        call: charityapi-autocomplete.autocompleteorganizations
        with:
          term: rest.term
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: charityapi-autocomplete-mcp
    port: 9090
    transport: http
    description: MCP adapter for CharityAPI — Autocomplete. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: autocomplete-organization-names
      description: Autocomplete organization names
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: charityapi-autocomplete.autocompleteorganizations
      with:
        term: tools.term
      outputParameters:
      - type: object
        mapping: $.