text_chunk
Exact token-budget chunking with the REAL tokenizer (cl100k/o200k/o250k/p50k/gpt2), sentence/paragraph units, overlap that cannot reach the budget, char offsets, hard cuts flagged. The flagship: $0.001 per call — RAG pipelines are the heavy industry that funds the free tools.
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_chunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| unit | No | sentence | |
| budget | No | ||
| overlap | No | ||
| encoding | No | cl100k_base |