fs_read_text_range
Extract a portion of a text file by specifying lines to skip and maximum lines to read, with optional encoding and line separator settings.
Instructions
Read sliced text segment, -1 unlimited.
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": {
"file_path": "<file_path>",
"lines_to_skip": "<lines_to_skip>",
"max_lines_to_read": "<max_lines_to_read>"
},
"name": "fs_read_text_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charset | No | utf-8 | |
| file_path | Yes | ||
| lines_to_skip | Yes | ||
| line_separator | No | ||
| max_lines_to_read | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||