Recipes Everyday

Chat into a Mindmap Recipe

After research, a comparison, a decision with options or a plan with many branches, offer once to keep it as a Mindmap. Add to an existing map when one fits; otherwise save OPML with one central topic.

View as Markdown

When

After research, a comparison, a decision with options, or a plan with many branches. The save_to_xale prompt sorts a whole chat this way too.

Calls

  1. xale_find_mindmaps with search: is there a map this belongs in?
  2. If one fits: xale_read_mindmap for its node ids, then, after a yes, xale_add_mindmap_nodes with mapId, parentNodeId (the map's rootNodeId for a new top-level branch), title, optional subNodes, and a new requestId.
  3. Otherwise, after a yes: xale_save_mindmap with opml (one top-level outline is the central topic), areaIds if they named an Area, people if someone is involved, and a new requestId.
  4. Offer to link the people involved: people on the save, or xale_change_links afterwards with kind: "mindmap".
json
{ "tool": "xale_save_mindmap", "arguments": {
  "opml": "<opml version=\"2.0\"><head><title>Which laptop</title></head><body><outline text=\"Which laptop\"><outline text=\"Light and small\"><outline text=\"Battery all day\"/><outline text=\"Smaller screen\"/></outline><outline text=\"Big screen\"><outline text=\"Better for photo editing\"/><outline text=\"Heavier to carry\"/></outline><outline text=\"Decision: light and small\"/></outline></body></opml>",
  "requestId": "map-2026-12-04-laptop"
} }

Say

  • Offer once, saying what and where: "Want me to save this as a Mindmap in Xale, in Personal?"
  • After saving, give the link (href).
  • One nudge at most: if a branch is a thing to do, "Want that as a Task, linked to this map?"

If it fails

What comes backWhat to do
A refusal about the OPMLIt says what to fix. Fix it and send again with the same requestId. A DTD or <!ENTITY> is always refused.
More than 300 nodesCount the central topic too. If the outline exceeds the map limit, ask which branches to keep or how to split it into separate maps before saving.
“New Mindmaps go to your default Area, which you keep away from connected apps. Choose an Area from xale_read_areas and send its id in areaIds.”Ask which Area, then send areaIds.

Offer once, saying what and where. Add to an existing map before making a new one.

  • Checked against main 8aef9b15

Was this helpful?

chat-into-a-mindmap-recipe.md · main@c1725f34