read_file
Read a local text file, optionally limited to a specific line range, to inspect file contents before editing or analyzing code and logs.
Instructions
Read a local text file with optional line range.
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": {
"filePath": "<filePath>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | No | ||
| filePath | Yes | Absolute file path | |
| startLine | No |