{"uid":"cap_sl4Nu9qH6cw9Kte1Ev-8y","slug":"signalharness-text-chunk-structurer-a03903d8","name":"SignalHarness Text Chunk Structurer","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/text_chunk_structure/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":65536,"minLength":1},"maxChunkChars":{"type":"integer","maximum":16000,"minimum":256}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"chunks":[{"id":"example000","end":0,"hash":"0000000000000000000000000000000000000000000000000000000000000000","text":"Example caller-supplied content.","start":0,"ordinal":0,"estimatedTokens":1,"headingHierarchy":["example"]}],"chunkCount":0,"sourceHash":"0000000000000000000000000000000000000000000000000000000000000000"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"text_chunk_structure","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"fee508f9f11138fc85b0266678dd3eb921bd79d1c0bbf7206f5505fd2f11bb12","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u8ycxNaNXoFcvBGJR78Ws","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a text string into structured chunks with a configurable maximum character size, returning chunk array, count, and a source hash.","exampleAgentPrompt":"Can you split this article into chunks of at most 1000 characters each so I can embed them for my search index? Here's the text: [long article text]","exampleUseCases":[{"title":"RAG pipeline document ingestion","prompt":"Take this 10,000-character product manual and break it into chunks of no more than 512 characters each — I need to embed each chunk separately for my retrieval system."},{"title":"LLM context window preparation","prompt":"I have a long transcript here that's way too big for a single LLM call. Can you chunk it into segments of at most 2000 characters so I can process each one separately?"},{"title":"Semantic search index building","prompt":"Split this blog post into structured text chunks with a max of 800 characters per chunk so I can index them for semantic search."}],"resultDescription":"Returns a JSON object containing an array of text chunks, the total chunk count, and a SHA-256 hash of the source text. Also includes execution metadata such as payment receipt, request ID, and latency details.","failureModes":["Text exceeds 65536 character maximum — returns validation error","maxChunkChars below 256 or above 16000 — returns schema validation error","Empty or missing text field — returns minLength validation error","Payment failure via x402 protocol — returns 402 Payment Required","Service unavailable — returns error status in receipt"],"whenToPreferThis":"Choose this endpoint when you need deterministic, reproducible text chunking with a verifiable source hash — especially useful in RAG pipelines, embedding workflows, or any system where you need to confirm chunk provenance. Prefer it over ad-hoc string splitting when you need structured output (chunk array + count + hash) and a pay-per-call micropayment model fits your usage pattern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:01.670Z","isFirstParty":false}