Read a text file
overleaf_read_fileRead LaTeX or text files from Overleaf projects. Specify start and end lines to page through long documents efficiently.
Instructions
Read a LaTeX or other text file. Long files are truncated; use startLine and endLine to page through them.
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": "overleaf_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | No | ||
| filePath | Yes | ||
| projectId | No | ||
| startLine | No |