detect_headings
Detect heading candidates in PDFs by analyzing font sizes, revealing document structure when no table of contents or bookmarks exist.
Instructions
Detect heading candidates by analyzing font sizes. Useful for PDFs without TOC/bookmarks to understand document structure before reading.
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": {
"file_path": "<file_path>"
},
"name": "detect_headings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the PDF file |