Google Cloud Natural Language API — documents:annotateText

Google Cloud Natural Language API — documents:annotateText. 1 operations. Lead operation: Google Cloud Natural Language Annotate text. Self-contained Naftiko capability covering one Google Cloud Natural Language business surface.

Run with Naftiko Google Cloud Natural Languagedocuments:annotateText

What You Can Do

POST
Annotatetext — Google Cloud Natural Language Annotate text
/v1/documents-annotatetext

MCP Tools

google-cloud-natural-language-annotate

Google Cloud Natural Language Annotate text

Capability Spec

openapi-documents-annotatetext.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Natural Language API — documents:annotateText
  description: 'Google Cloud Natural Language API — documents:annotateText. 1 operations. Lead operation: Google Cloud Natural
    Language Annotate text. Self-contained Naftiko capability covering one Google Cloud Natural Language business surface.'
  tags:
  - Google Cloud Natural Language
  - documents:annotateText
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_NATURAL_LANGUAGE_API_KEY: GOOGLE_CLOUD_NATURAL_LANGUAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: openapi-documents-annotatetext
    baseUri: https://language.googleapis.com/v1
    description: Google Cloud Natural Language API — documents:annotateText business capability. Self-contained, no shared
      references.
    resources:
    - name: documents:annotateText
      path: /documents:annotateText
      operations:
      - name: annotatetext
        method: POST
        description: Google Cloud Natural Language Annotate text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: openapi-documents-annotatetext-rest
    port: 8080
    description: REST adapter for Google Cloud Natural Language API — documents:annotateText. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/documents-annotatetext
      name: documents-annotatetext
      description: REST surface for documents:annotateText.
      operations:
      - method: POST
        name: annotatetext
        description: Google Cloud Natural Language Annotate text
        call: openapi-documents-annotatetext.annotatetext
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: openapi-documents-annotatetext-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud Natural Language API — documents:annotateText. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: google-cloud-natural-language-annotate
      description: Google Cloud Natural Language Annotate text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: openapi-documents-annotatetext.annotatetext
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.