text_chunk
Text chunking for RAG ($0.001 per call, paid via MPP on Tempo). Split text or Markdown into retrieval-ready chunks that respect headings, paragraphs and sentences. Params: size (target tokens, default 400, 50-4000), overlap (tokens, default 40). Returns chunks with heading path, char offsets and token estimates. Body: JSON {text} or raw text. Max 2 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/text/chunk. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
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 |
|---|---|---|---|
| size | No | ||
| text | Yes | ||
| overlap | No |