read
Retrieves UTF-8 text with line numbers using offset and limit controls, and must be used before modifying an existing file.
Instructions
Read UTF-8 text with line numbers. offset is zero-based; limit defaults to 2000. Required before modifying an existing file.
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": "read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| limit | No | ||
| offset | No |