serialize_current_mindmap_to_mermaid
Convert the active mind map to Mermaid format for visualization, with options to control detail level and include only IDs or text content.
Instructions
Serializes the currently loaded mindmap to Mermaid format.
Args:
id_only (bool): If True, only include IDs without detailed attributes. Defaults to False.
mode (str): Detail level ('full', 'content', 'text'). Defaults to 'full'.
turbo_mode (bool): Enable turbo mode (text only). Defaults to False.
Returns:
Union[str, Dict[str, str]]: Mermaid formatted string or error dictionary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "serialize_current_mindmap_to_mermaid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_only | No | ||
| mode | No | full | |
| turbo_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |