URL to mind map
url_to_mindmapConvert server-rendered web pages or PDFs into mind-map outlines by extracting main content and removing navigation and boilerplate.
Instructions
Fetch an http(s) page (or a PDF served over http) and turn its main content into a mind-map outline. Article text is extracted with Readability; navigation and boilerplate are dropped. Pages that render entirely in JavaScript will come back empty — paste the text into text_to_mindmap instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | An http(s) page or PDF. Server-rendered pages only — a JS-only SPA will come back empty. | |
| mode | No | auto (default): use a configured API key if there is one, otherwise "client". client: get a draft plus the source text back and write the outline yourself. llm: the server calls the model configured by ANTHROPIC_API_KEY / OPENAI_API_KEY. heuristic: rule-based only, no model. | |
| title | No | Root node title. Derived from the source if omitted. | |
| export | No | Also render the outline to a standalone HTML file and return its path. | |
| language | No | Language for the node labels, e.g. "English" or "中文". Defaults to the source language. | |
| maxDepth | No | Levels including the root (default 4). | |
| outputPath | No | Where to write the HTML when export is true. A directory gets a generated file name. Defaults to $MINDMAP_OUTPUT_DIR or ./mindmaps/. | |
| maxChildren | No | Children kept per node before the rest collapse into "…(+N)" (default 8). |