Weaviate · Capability

Weaviate REST API — tokenize

Weaviate REST API — tokenize. 1 operations. Lead operation: Weaviate Tokenize Text. Self-contained Naftiko capability covering one Weaviate business surface.

Run with Naftiko Weaviatetokenize

What You Can Do

POST
Tokenize — Weaviate Tokenize Text
/v1/tokenize

MCP Tools

weaviate-tokenize-text

Weaviate Tokenize Text

Capability Spec

weaviate-tokenize.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Weaviate REST API — tokenize
  description: 'Weaviate REST API — tokenize. 1 operations. Lead operation: Weaviate Tokenize Text. Self-contained Naftiko
    capability covering one Weaviate business surface.'
  tags:
  - Weaviate
  - tokenize
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WEAVIATE_API_KEY: WEAVIATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: weaviate-tokenize
    baseUri: http://localhost:8080
    description: Weaviate REST API — tokenize business capability. Self-contained, no shared references.
    resources:
    - name: tokenize
      path: /tokenize
      operations:
      - name: tokenize
        method: POST
        description: Weaviate Tokenize Text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.WEAVIATE_API_KEY}}'
  exposes:
  - type: rest
    namespace: weaviate-tokenize-rest
    port: 8080
    description: REST adapter for Weaviate REST API — tokenize. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/tokenize
      name: tokenize
      description: REST surface for tokenize.
      operations:
      - method: POST
        name: tokenize
        description: Weaviate Tokenize Text
        call: weaviate-tokenize.tokenize
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: weaviate-tokenize-mcp
    port: 9090
    transport: http
    description: MCP adapter for Weaviate REST API — tokenize. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: weaviate-tokenize-text
      description: Weaviate Tokenize Text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: weaviate-tokenize.tokenize
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.