Read a project file
read_fileReads text files with line numbers and SHA-256 hash. Blocks secrets and dependency files for security.
Instructions
Use this to read a text file with line numbers and a SHA-256 version hash. Secret-like and dependency files are blocked.
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": {
"project": "<project>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| endLine | No | ||
| project | Yes | Project key from list_projects. | |
| maxLines | No | ||
| startLine | No |