project_outline
Summarize a ShareLaTeX project without reading every file by returning its file tree and section headings from the root and included .tex files.
Instructions
Summarize a ShareLaTeX project without reading every file.
Read-only. project is a project name or id. Returns the file tree,
the headings of the root .tex file, and the headings of files pulled
in by \input or \include. The root file is main.tex when it exists,
otherwise the first .tex document that contains \documentclass.
Includes are followed recursively with cycle detection. At most 30 files
are opened. root_file overrides automatic root selection.
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": {
"project": "<project>"
},
"name": "project_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| root_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |