List sections in a docs page
list_page_sectionsDiscover a page's canonical headings, anchors, hierarchy, line ranges, size estimates, and budget-aware fetch URLs without returning the page body.
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": {
"path": "<path>"
},
"name": "list_page_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| cursor | No | Opaque nextCursor from the preceding response page. | |
| locale | No | ||
| byteBudget | No | ||
| tokenBudget | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Items in the complete filtered result set. | |
| format | Yes | ||
| hasMore | Yes | Whether another response page is available. | |
| sections | Yes | ||
| utf8Bytes | Yes | ||
| nextCursor | No | Opaque cursor to pass as cursor on the next request. | |
| fetchBudget | No | ||
| markdownUrl | Yes | ||
| resultCount | Yes | Items returned in this response page. | |
| canonicalUrl | Yes | ||
| sectionCount | Yes | ||
| lineNumbering | Yes | ||
| schemaVersion | Yes | ||
| estimatedTokens | Yes | ||
| sectionIndexUrl | Yes |