get_page_structure
Extracts the heading structure and table of contents from a documentation page to reveal its organization and hierarchy.
Instructions
Extracts the heading structure and table of contents from a documentation page.
This tool helps understand the organization of a documentation page by
extracting all headings and their hierarchy.
Args:
url: The URL of the documentation page
Returns:
Hierarchical structure of headings on the page
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": "get_page_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |