Google Maps Platform · Capability

Google Maps Places API (New) — Autocomplete

Google Maps Places API (New) — Autocomplete. 1 operations. Lead operation: Get Place Autocomplete Predictions. Self-contained Naftiko capability covering one Google Maps business surface.

Run with Naftiko Google MapsAutocomplete

What You Can Do

POST
Autocompleteplaces — Get Place Autocomplete Predictions
/v1/places-autocomplete

MCP Tools

get-place-autocomplete-predictions

Get Place Autocomplete Predictions

read-only

Capability Spec

places-autocomplete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Maps Places API (New) — Autocomplete
  description: 'Google Maps Places API (New) — Autocomplete. 1 operations. Lead operation: Get Place Autocomplete Predictions.
    Self-contained Naftiko capability covering one Google Maps business surface.'
  tags:
  - Google Maps
  - Autocomplete
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_MAPS_API_KEY: GOOGLE_MAPS_API_KEY
capability:
  consumes:
  - type: http
    namespace: places-autocomplete
    baseUri: https://places.googleapis.com/v1
    description: Google Maps Places API (New) — Autocomplete business capability. Self-contained, no shared references.
    resources:
    - name: places:autocomplete
      path: /places:autocomplete
      operations:
      - name: autocompleteplaces
        method: POST
        description: Get Place Autocomplete Predictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Goog-Api-Key
      value: '{{env.GOOGLE_MAPS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: places-autocomplete-rest
    port: 8080
    description: REST adapter for Google Maps Places API (New) — Autocomplete. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/places-autocomplete
      name: places-autocomplete
      description: REST surface for places:autocomplete.
      operations:
      - method: POST
        name: autocompleteplaces
        description: Get Place Autocomplete Predictions
        call: places-autocomplete.autocompleteplaces
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: places-autocomplete-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Maps Places API (New) — Autocomplete. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-place-autocomplete-predictions
      description: Get Place Autocomplete Predictions
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: places-autocomplete.autocompleteplaces
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.