get_sections
Extract LaTeX section headings from a .tex file to outline a project; returns line numbers, heading commands, and titles for each chapter, section, or subsection.
Instructions
Extract LaTeX section headings from a .tex file.
Read-only. project is a project name or id. Returns one heading per
line: line number, heading command (chapter, section, subsection, and
so on), then the heading title. Starred commands such as \section*
are included.
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>",
"file_path": "<file_path>"
},
"name": "get_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |