← All quick checks

Text chunker for RAG (heading-aware, token-sized chunks)

$0.0021 USD per call Pay per call via x402, no signup

This call splits text you send, or the main content of one public page, into heading-aware chunks of at most max_tokens, with optional overlap, and each chunk includes its heading path and an approximate token count, for RAG ingestion. Input is text (POST for long text) or url; limits are 400,000 characters and 2,000 chunks; robots.txt is obeyed when a url is given; GET and POST endpoints are listed.

Call it

x402: GET https://shop.lordevo.com/api/quick/text-chunk?text=The%20quick%20brown%20fox%20jumps%20over%20the%20lazy%20dog.&max_tokens=200 or POST the same fields as JSON to https://shop.lordevo.com/api/quick/text-chunk · MCP tool text_chunk at https://shop.lordevo.com/mcp

The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.

Example

The catalog's own example for this tool (illustrative sample values, not a live result).

Input

{
  "text": "The quick brown fox jumps over the lazy dog.",
  "max_tokens": "200"
}

Output

{
  "tool": "text-chunk",
  "source": "url",
  "url": "https://example.com/guide",
  "title": "Setup guide",
  "max_tokens": 200,
  "overlap_tokens": 50,
  "chunk_count": 2,
  "total_tokens_estimate": 310,
  "truncated": false,
  "chunks": [
    {
      "index": 0,
      "heading_path": [
        "Setup guide",
        "Install"
      ],
      "heading": "Install",
      "text": "Download the installer and run it...",
      "approx_tokens": 180,
      "characters": 790,
      "overlap_tokens": 0
    },
    {
      "index": 1,
      "heading_path": [
        "Setup guide",
        "Configure"
      ],
      "heading": "Configure",
      "text": "Open settings.yml and set...",
      "approx_tokens": 130,
      "characters": 560,
      "overlap_tokens": 0
    }
  ]
}

All quick checks and prices · Guides · Errors and limits