Google Vertex AI · Capability

Google Vertex AI API — Predictions

Google Vertex AI API — Predictions. 1 operations. Lead operation: Google Vertex AI Run a prediction. Self-contained Naftiko capability covering one Google Vertex Ai business surface.

Run with Naftiko Google Vertex AiPredictions

What You Can Do

POST
Predict — Google Vertex AI Run a prediction
/v1/projects/{project}/locations/{location}/endpoints/endpoint-predict

MCP Tools

google-vertex-ai-run-prediction

Google Vertex AI Run a prediction

Capability Spec

openapi-predictions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Vertex AI API — Predictions
  description: 'Google Vertex AI API — Predictions. 1 operations. Lead operation: Google Vertex AI Run a prediction. Self-contained
    Naftiko capability covering one Google Vertex Ai business surface.'
  tags:
  - Google Vertex Ai
  - Predictions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_VERTEX_AI_API_KEY: GOOGLE_VERTEX_AI_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-predictions
    baseUri: https://us-central1-aiplatform.googleapis.com/v1
    description: Google Vertex AI API — Predictions business capability. Self-contained, no shared references.
    resources:
    - name: projects-project-locations-location-endpoints-endpoint}:predict
      path: /projects/{project}/locations/{location}/endpoints/{endpoint}:predict
      operations:
      - name: predict
        method: POST
        description: Google Vertex AI Run a prediction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: location
          in: path
          type: string
          required: true
        - name: endpoint
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_VERTEX_AI_API_KEY}}'
  exposes:
  - type: rest
    namespace: openapi-predictions-rest
    port: 8080
    description: REST adapter for Google Vertex AI API — Predictions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects/{project}/locations/{location}/endpoints/endpoint-predict
      name: projects-project-locations-location-endpoints-endpoint-predict
      description: REST surface for projects-project-locations-location-endpoints-endpoint}:predict.
      operations:
      - method: POST
        name: predict
        description: Google Vertex AI Run a prediction
        call: openapi-predictions.predict
        with:
          project: rest.project
          location: rest.location
          endpoint: rest.endpoint
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-predictions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Vertex AI API — Predictions. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: google-vertex-ai-run-prediction
      description: Google Vertex AI Run a prediction
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-predictions.predict
      with:
        project: tools.project
        location: tools.location
        endpoint: tools.endpoint
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.