text_split
Text chunking, text splitter for RAG and embeddings. Split text into chunks of at most size characters for search indexes or LLM context (RAG), with optional overlap, keeping paragraph, sentence or word boundaries where possible. Returns each chunk with its start and end position. Price: $0.002 per call (x402, USDC on Base).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "text_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | sentence | |
| size | No | ||
| text | Yes | ||
| overlap | No |