extract_headings
Extract heading hierarchy and document structure from web pages to analyze content organization and navigation.
Instructions
Extract document structure and heading hierarchy from web pages
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": {
"url": "<url>"
},
"name": "extract_headings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to extract headings from | |
| levels | No | Heading levels to extract (1-6, default: all) | |
| includeText | No | Whether to include heading text content (default: true) | |
| useCache | No | Whether to use cached content if available (default: true) |