overleaf_read_file
Read the full contents of any file within an Overleaf project by providing the project ID and file path.
Instructions
Reads the full contents of a file in an Overleaf project.
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>",
"filePath": "<filePath>"
},
"name": "overleaf_read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | The path of the document (e.g., main.tex or folder/file.tex). | |
| projectId | Yes | The ID of the Overleaf project. |