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.
When
After research, a comparison, a decision with options, or a plan with many branches. The save_ prompt sorts a whole chat this way too.
Calls
xale_withfind_ mindmaps search: is there a map this belongs in?- If one fits:
xale_for its node ids, then, after a yes,read_ mindmap xale_withadd_ mindmap_ nodes mapId,parentNodeId(the map'srootNodeIdfor a new top-level branch),title, optionalsubNodes, and a newrequestId. - Otherwise, after a yes:
xale_withsave_ mindmap opml(one top-level outline is the central topic),areaIdsif they named an Area,peopleif someone is involved, and a newrequestId. - Offer to link the people involved:
peopleon the save, orxale_afterwards withchange_ links 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 back | What to do |
|---|---|
| A refusal about the OPML | It says what to fix. Fix it and send again with the same requestId. A DTD or <!ENTITY> is always refused. |
| More than 300 nodes | Count 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