fs_read
Read the contents of a UTF-8 text file from the file system. Optionally specify start and end lines to return only a range.
Instructions
Read a UTF-8 text file. Returns the full content, or a line range when start_line/end_line are given.
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": {
"path": "<path>"
},
"name": "fs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path, absolute or relative to the workspace. | |
| end_line | No | 1-based last line to return. | |
| start_line | No | 1-based first line to return. |