chunker_chunk_sliding_window
Splits text into overlapping segments using a sliding window. Specify window size and step to control chunk boundaries. Returns each chunk with index, text, and character positions.
Instructions
[chunker] Sliding window over text. Returns [{index, text, start, end}].
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": "chunker_chunk_sliding_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| window_chars | No | ||
| step_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |