chop_files
Reads local text files, splits them into ~1,000-character passages, and extracts exact quotes answering a question with file path and character offset—avoid reading long files in full.
Instructions
Read local text files (notes, docs, logs, code, exported pages), split them into ~1,000-character passages and
cut out the exact quotes that answer question. Each quote carries its file path and character offset in that
file. Use it instead of reading long files in full when only part of them is relevant.
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": {
"question": "<question>",
"paths": "<paths>"
},
"name": "chop_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | ||
| question | Yes |