extract_headings
Extract all H1-H6 headings from a webpage as a flat list with level and text. Use it to audit heading structure, count H1 tags, and verify nesting order for SEO.
Instructions
Extract all headings (H1-H6) from a webpage and return them as a flat list with level and text. Useful for SEO analysis of heading structure, checking H1 count, and verifying heading nesting order.
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 | Target webpage URL to analyze. Must start with https:// or http://. Maximum 2048 characters. |