Split text into sized chunks
bpj_chunk_textSplit by a maximum code-point count with a preference for nearby whitespace. Chunks rejoin to the original text.
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>",
"size": "<size>"
},
"name": "bpj_chunk_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| text | Yes |