Text to mind map
text_to_mindmapConvert text or Markdown notes, drafts, or transcripts into a structured mind-map outline, optionally rendered as a standalone offline HTML mind map.
Instructions
Turn text or Markdown into a mind-map outline. Use this for content you already have — a draft, notes, a transcript, a chunk of a document. Returns a Markdown outline; pass export: true, or call export_mindmap afterwards, to get an HTML file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| text | Yes | The text or Markdown to map. Capped by MINDMAP_MAX_INPUT_CHARS (200k by default). | |
| 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). |