serialize_current_mindmap_to_mermaid
Converts the currently loaded mind map into Mermaid format, allowing flexible detail levels (full, content, text) and optional ID-only or turbo-mode export for streamlined use.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id_only | No | ||
mode | No | full | |
turbo_mode | No |
Input Schema (JSON Schema)
{
"properties": {
"id_only": {
"default": false,
"title": "Id Only",
"type": "boolean"
},
"mode": {
"default": "full",
"title": "Mode",
"type": "string"
},
"turbo_mode": {
"default": false,
"title": "Turbo Mode",
"type": "boolean"
}
},
"title": "serialize_current_mindmap_to_mermaidArguments",
"type": "object"
}