Read
readRetrieve file contents with line numbers or list directory entries, using offset and limit to page through large files.
Instructions
Read a file or list a directory. Text is returned with line numbers. Use offset (1-based) and limit to page through large files.
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 |