read
Read a file from an Overleaf project, optionally specifying a line range for partial content. Use this to retrieve document text or excerpts for editing and analysis.
Instructions
Read a file, line-numbered. lines='150-190' reads a range; omit for all. Prefer a range guided by outline.
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 | ||
| lines | No | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |