get_project_tree
Retrieve a project's file and folder tree with entity IDs and paths, plus root document, compiler, TeX Live image, spell-check language, and optional dashboard tags for review or editing.
Instructions
Return the project file/folder tree with entity IDs and paths, plus the root document, compiler, TeX Live image, and spell-check language Overleaf uses. Each binary file entity carries hash, a git blob hash equal to git hash-object <file>; text documents have no hash and must be compared by reading their content. includeTags adds tags, this account's dashboard tags on the project as { id, name }, from one more request; change them with manage_tags.
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>"
},
"name": "get_project_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Overleaf project ID | |
| includeTags | No | Add this account's tags on the project; one more request to Overleaf |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| compiler | No | ||
| entities | Yes | ||
| hashNote | Yes | ||
| imageName | No | ||
| rootDocPath | No | ||
| spellCheckLanguage | No | ||
| trackChangesActive | Yes |