Read a project file
read_fileRead text documents from Overleaf projects, including collaborators' unsaved edits. For binary files or large documents, specify an output path.
Instructions
Read a text document from an Overleaf project, including collaborators' unsaved edits. Binary files and documents over the size cap require outputPath.
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": {
"projectId": "<projectId>",
"path": "<path>"
},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| projectId | Yes | ||
| outputPath | No |