{"uid":"cap_ODQOTFNkihaZOeG9WsEQA","slug":"moneytools-text-chunker-11d4ac20","name":"MoneyTools Text Chunker","description":"Catalog of MoneyTools: 116 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.","url":"https://tools.moneytools.dev/v1/text-chunk?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"number","examples":[30],"description":"chunk size (default 1000)"},"text":{"type":"string","examples":["First paragraph.\n\nSecond paragraph. It has two sentences."],"description":"text (≤500k chars)"},"unit":{"type":"string","examples":["chars"],"description":"chars | tokens"},"overlap":{"type":"number","examples":[5],"description":"overlap (default 100)"}}},"responseSchema":{"type":"json","example":{"size":50,"unit":"chars","count":2,"chunks":[{"text":"First paragraph.\n\nSecond paragraph. ","index":0,"length":36},{"text":"aph. It has two sentences.","index":1,"length":26}],"overlap":5,"truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-kABXe6p56bhi1n9Va21X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a large text into overlapping chunks of a specified size in characters or tokens","exampleAgentPrompt":"Can you split this article into chunks of 500 characters with an overlap of 50 characters? Here's the text: 'First paragraph. Second paragraph. It has two sentences. Third paragraph continues here.'","exampleUseCases":[{"title":"RAG pipeline document preparation","prompt":"I need to chunk this product documentation into 1000-character pieces with 100-character overlap so I can embed them for vector search — can you split it up for me?"},{"title":"Token-aware LLM context splitting","prompt":"Split this long support transcript into chunks of 512 tokens with a 30-token overlap so I can feed each piece into my LLM without hitting the context window limit."},{"title":"Sliding-window text segmentation","prompt":"Take this 50,000-character research paper and break it into overlapping segments of 2000 characters each with 200 characters of overlap between consecutive chunks."}],"resultDescription":"A JSON array of text chunk strings, split from the input according to the specified unit (chars or tokens), chunk size, and overlap. Each chunk overlaps with the next by the specified overlap amount.","failureModes":["Text exceeds 500,000 character limit — returns an error","Invalid unit value (not 'chars' or 'tokens') — returns validation error","Overlap larger than chunk size — may return error or unexpected behavior","Empty text input — may return empty array","Non-numeric size or overlap values — returns validation error"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap, stateless text-chunking utility with configurable size and overlap in either characters or tokens — especially suited for preparing text for embedding pipelines or RAG workflows. Prefer it over building custom chunkers when you want a quick API call without deploying your own infrastructure, and when your text is under 500k characters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:39:11.675Z","isFirstParty":false,"canonicalSlug":"moneytools-text-chunker-11d4ac20"}