Sitemap to outline
sitemap_to_outlineConvert a sitemap into an outline. Give input as a list of URLs or paths (one per line; query strings and fragments are dropped) or an indented tree, and optionally format (numbered, markdown, indent). URL lists are folded into a tree under Home, with labels guessed from slugs (placeholders for real titles). Returns the outline plus notes: sections that exist only as parents of other URLs (no page of their own), ID segments that need names, depth over 4, a branch with more than 9 children, and single-child sections. Up to 2000 lines.
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": {
"input": "<input>"
},
"name": "sitemap_to_outline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | URLs or paths, one per line, or an indented tree | |
| format | No | numbered (default), markdown or indent |