layerfs_fs_read
Reads UTF-8 lines from a specified branch, commit, or layer using 1-based inclusive line ranges; refuses binary files and reports truncation or nextLine for pagination.
Instructions
Read UTF-8 lines from a branch, commit or layer. Lines are 1-based and inclusive. Follow nextLine and inspect truncated/lineTruncated; binary files are refused.
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": {
"ref": "<ref>",
"path": "<path>"
},
"name": "layerfs_fs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| path | Yes | ||
| endLine | No | ||
| startLine | No |