FakerAPI · Capability

FakerAPI — Texts

Texts — Texts. 1 operation. Lead operation: List Fake Texts. Self-contained Naftiko capability covering one FakerAPI business surface for lorem-style titled text blocks.

Run with Naftiko FakerAPITest DataTexts

What You Can Do

GET
Listtexts — Return a collection of fake titled text blocks.
/v1/texts

MCP Tools

list-fake-texts

Return a collection of fake titled text blocks.

read-only idempotent

Capability Spec

fakerapi-texts.yaml Raw ↑
naftiko: "1.0.0-alpha2"

info:
  label: "FakerAPI — Texts"
  description: >-
    Texts — Texts. 1 operation. Lead operation: List Fake Texts.
    Self-contained Naftiko capability covering one FakerAPI business surface
    for lorem-style titled text blocks.
  tags:
    - FakerAPI
    - Test Data
    - Texts
  created: "2026-05-30"
  modified: "2026-05-30"

binds: []

capability:

  consumes:
    - type: http
      namespace: "fakerapi-texts"
      baseUri: "https://fakerapi.it/api/v1"
      description: "FakerAPI — Texts business capability. No authentication required."
      resources:
        - name: "texts"
          path: "/texts"
          operations:
            - name: "listTexts"
              method: GET
              description: "Return a collection of fake titled text blocks (lorem-style content)."
              inputParameters:
                - name: "_quantity"
                  in: query
                  type: integer
                  required: false
                  description: "Number of records (1-1000, default 10)."
                - name: "_locale"
                  in: query
                  type: string
                  required: false
                  description: "Locale code."
                - name: "_seed"
                  in: query
                  type: integer
                  required: false
                  description: "Integer seed."
                - name: "_characters"
                  in: query
                  type: integer
                  required: false
                  description: "Maximum characters per text block."
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: "fakerapi-texts-rest"
      port: 8080
      description: "REST adapter for FakerAPI — Texts."
      resources:
        - path: "/v1/texts"
          name: "texts"
          description: "REST surface for fake texts."
          operations:
            - method: GET
              name: "listTexts"
              description: "Return a collection of fake titled text blocks."
              call: "fakerapi-texts.listTexts"
              with:
                "_quantity": "rest._quantity"
                "_locale": "rest._locale"
                "_seed": "rest._seed"
                "_characters": "rest._characters"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      namespace: "fakerapi-texts-mcp"
      port: 9090
      transport: http
      description: "MCP adapter for FakerAPI — Texts."
      tools:
        - name: "list-fake-texts"
          description: "Return a collection of fake titled text blocks."
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "fakerapi-texts.listTexts"
          with:
            "_quantity": "tools._quantity"
            "_locale": "tools._locale"
            "_seed": "tools._seed"
            "_characters": "tools._characters"
          outputParameters:
            - type: object
              mapping: "$."