Docs Section 7
Tool reference
Every tool the Xale connector lists, from listedTools() at main c1725f34. Each tool needs Xale Pro; write tools also need the person's yes.
- Tool reference — indexXale's MCP server offers 73 tools: 27 that read and 46 that write. This page lists them all, by what they work on, with what each does and the permission it needs, and says which find tool and which done tool to pick.
- Read-only tools — list27 of Xale's tools only read. A broad
readgrant includes all 27. A display-onlyread:nowgrant gives one tool,xale_.read_ now - Write tools — list46 of Xale's tools write. Each needs one of three permissions the person ticks when they connect:
write:memories,write:intentionsorwrite:changes. - Tool annotations — read-only and destructive hintsEvery Xale tool carries MCP annotations that tell your client whether it only reads, whether it can overwrite, and whether repeating it is safe.
- Result shape — notice, data and linksA successful call returns one text block of JSON: a
notice, thendata. Links come back as full xale.app addresses you can hand to the person. - Words in results — Milestones, Habits and calendar eventsUse these fields to tell a Milestone, a Habit and a calendar event apart in a tool result.
- Tool errors — shared shapesWhen a tool refuses a call or fails, it answers with a normal result marked
isError: trueand one plain sentence. This page lists the sentences every tool can give, what each means, and what to do. - Request ids — safe retriesEvery tool that creates something takes a
requestId. Send the same id to retry the same call, and Xale returns the first result instead of saving twice.
Today and schedule
xale_Now and Up NextReadThe visible labels and times on the Now screen. Send the previous revision to check for changes.read_ now xale_Today at a glanceReadToday's plan in the person's timezone: Milestones, read-only external calendar events, scheduled time blocks, Tasks due or overdue, and Habit progress. Start here for 'what's on today' or 'what should I do now'. Each time block and Milestone says onGoogleCalendar: whether Xale has put it on the person's Google Calendar.read_ today xale_A date rangeReadMilestones and time blocks for a date range in the person's timezone, plus read-only entries from their other calendars (calendarEvents). Each time block says its blockType: quickblock, transition (lead-in or wind-down, with the item it belongs to), activity, task, subtask or habit. Each time block and Milestone says onGoogleCalendar: whether Xale has put it on the person's Google Calendar.read_ schedule xale_Add a time blockWritePut anything into the person's day, freely: a meeting, an appointment, a meal, a workout, travel, focus time or prep (quickblock); a lead-in before or a wind-down after something that matters (transition); or one of their Activities, such as a meal (activity). Start times are epoch milliseconds in the person's timezone. Most of what other calendars call events are time blocks in Xale; a Milestone is only for a date the person plans towards.plan_ block xale_Move to a new timeWriteMove a time block to a new start time in epoch milliseconds (13 digits). A Habit's occurrence moves with its block.move_ block xale_Mark doneWriteMark a time block done, with what the app does too: a Habit block completes the occurrence, an Activity block logs the Activity, a subtask block ticks the subtask.complete_ block xale_Put in a dayWritePut a Task or Habit into the day as a time block at a start time in epoch milliseconds (13 digits, resolved in the person's timezone).schedule_ intention
Notes
xale_Search notesReadSearch or list the person's Notes, Lists and Meeting notes (titles, kinds, Areas). Use xale_read_note for the content of one.find_ notes xale_One noteReadOne Note, List or Meeting by id: its text, a List's rows with their done state, or a Meeting's notes and action items.read_ note xale_New noteWriteSave Markdown as a new Note in Xale. Use for 'save this as a note', and offer it (once, then ask) after a long, detailed discussion. Headings, bold, italic, code, quotes, links, lists, task lists and tables are kept; HTML is shown as text. Returns the Note's id and a link to it in Xale.save_ note xale_Add textWriteAdd paragraphs to the end of an existing Note or Meeting (id from xale_find_notes). For a List, use xale_append_to_list.append_ to_ note
Lists
xale_New listWriteSave a nested Markdown list as a new List (offer it, then ask, when the chat produced a long list): one item per line starting with "- " or "1. ", 2 spaces per level, "- [x]" for done. A refusal names the line to fix. Returns the List's id and link.save_ list xale_Add rowsWriteAdd items (with optional sub-items) to the end of an existing List (id from xale_find_notes).append_ to_ list xale_Tick or untickWriteTick one row of a List done, or untick it (done: false). Name the row by its text.tick_ list_ row
Mindmaps
xale_Search mapsReadList the person's Mindmaps (names and Areas). Use xale_read_mindmap for one map's nodes.find_ mindmaps xale_NodesReadOne Mindmap by id, as its ordered node tree. Call xale_render_mindmap for an image of a saved map or unsaved tree in light or dark, as SVG or HTML. See xale://formats/mindmap-image for the drawing guide.read_ mindmap xale_Draw a mindmapReadDraw a saved Mindmap by mapId or an unsaved tree from nodes, with Xale's colors and branded footer. The default mode is light; choose dark for a dark background. The default format is standalone SVG for PNG conversion. Choose HTML for an interactive viewer with Download PNG. Draws up to 500 visible nodes and reports if a saved map was truncated.render_ mindmap xale_From OPMLWriteSave OPML 2.0 as a new Mindmap. Offer it (once, then ask) after detailed research, a comparison or a plan with many branches. One top-level outline is the central topic. A refusal says what to fix. Returns the Mindmap's id and link. Call xale_render_mindmap for an image of a saved map or unsaved tree in light or dark, as SVG or HTML. See xale://formats/mindmap-image for the drawing guide.save_ mindmap xale_Grow a mapWriteAdd a node, with optional sub-nodes, under a node of an existing Mindmap (ids from xale_read_mindmap).add_ mindmap_ nodes xale_Edit textWriteChange the title of one node of a Mindmap.rename_ mindmap_ node xale_Mark doneWriteTick a Mindmap node done, or untick it. A node linked to a Task completes or reopens that Task.tick_ mindmap_ node
Meetings
xale_Search meetingsReadThe person's recent Meeting notes, most recent first, or those whose title matches. Use xale_read_note for one meeting's notes, decisions and action items.find_ meetings xale_New meetingWriteSave notes or minutes from a meeting or call as a Meeting: what was discussed and decided, who was there (attendees), the day, and action items as "- [ ]" lines. Link the Milestone it was for with milestoneId, if there is one. Offer it (once, then ask) after the person tells you about a meeting.save_ meeting
Captures
xale_Search capturesReadThe person's recent Captures: saved links and images, plus previously saved documents and audio (title, kind, snippet). To help them triage, open each link with your own tools, summarise it, suggest where it belongs (a Note, Task, Mindmap or Project, or archive it), and file it with xale_mark_capture_filed only after they agree.find_ captures xale_One captureReadOne Capture by id: its extracted article text, OCR, transcript, summary or previously saved PDF pages, or a note that only details are available.read_ capture xale_New captureWriteSave a link, article or video the person wants to come back to, as a Capture. Offer it (once, then ask) when they share a link worth keeping. A Capture keeps the link, not the page: if you can open it, put a one-line summary of what's there in note.save_ link xale_After triageWriteAfter a Capture became a Note, Task, Habit or Mindmap (with the person's yes), mark it filed with a link to what it became, and send your short summary of the link in summary: Xale shows it on the Capture in place of its snippet, so keep the person's own words from the snippet in it. Nothing is removed.mark_ capture_ filed
Memories
Tasks
xale_List tasksReadThe person's Tasks, open by default, filterable by status, Area and due date. Start at offset 0 with a limit of 1 to 500 (default 30). While hasMore is true, pass nextOffset with the same filters. Leave areaId unset to include Tasks without an Area or Project. Each Task lists its Milestone ids in linkedMilestoneIds.read_ tasks xale_One taskReadOne Task by id, with notes, subtasks and the Milestones it belongs to (milestones).read_ task xale_New taskWriteCreate a Task, optionally with a due date, priority, Areas, notes, sub-tasks (up to 100 titles, in order) and the Milestones it belongs to (milestones, Pro). Returns the Task's id and its sub-tasks' ids.create_ task xale_Change fieldsWriteChange a Task's title, due date or time, duration, priority, notes, Activity, completed state, links to a Note or Mindmap, or subtasks. Subtasks you send are changed or added by id; subtasks you leave out are kept. Areas, people and Projects change with xale_change_links.update_ task xale_Mark doneWriteMark a Task done (its subtasks too). This is a status change; reopen it with xale_update_task and completed: false.complete_ task
Projects
xale_List projectsReadThe person's Projects.read_ projects xale_One projectReadOne Project by id, with its Tasks and linked items.read_ project xale_New projectWriteCreate a Project, optionally with a description, Areas and target date, and optionally its Tasks (each with sub-tasks) and Habits (each with steps and a cadence, daily if left out). Choose up to 49 Tasks and Habits in total. The Project and everything in it are created together or not at all; the result lists the id of each.create_ project xale_Change fieldsWriteChange a Project's name, description, status (active, on_hold, done or abandoned: a status change, not a removal), dates, or its linked Note or Mindmap. Areas and people change with xale_change_links.update_ project
Habits
xale_List habitsReadThe person's Habits with cadence, Steps and linked Milestone details. If milestonesTruncated is true, retry with the Habit's id for an individual lookup (up to 20 Milestones). Use visible linkedMilestoneIds to read further Milestones by id.read_ habits xale_New habitWriteCreate a Habit with its cadence (how often: daily, a number of times per week, per month, per quarter or per year, so 'twice a year' is perYear with target 2), optional duration, Areas, steps (up to 50 titles, in order) and the Milestones it belongs to (milestones, Pro). Returns the Habit's id and its steps' ids. If the person wants to be nudged about it, offer a check-in at a time they choose (xale_take_on_check_in): Xale itself sends no reminders, so it comes from your own app's reminder, or else at their next chat with you.create_ habit xale_Change fieldsWriteChange a Habit's title, description, cadence, duration, weekdays, steps or linked Note or Mindmap. Steps you send are changed or added by id; steps you leave out are kept. To archive a Habit, use xale_prepare_removal. If the person wants to be nudged about it, offer a check-in at a time they choose (xale_take_on_check_in): Xale itself sends no reminders, so it comes from your own app's reminder, or else at their next chat with you.update_ habit xale_Log itWriteComplete a Habit's occurrence for a day (today unless date is given): its time block if it has one, as the app does. Completing it twice changes nothing.complete_ habit xale_A dated entryWriteRecord one dated entry for a Habit, Task, Project or Milestone on its log Note (made and linked the first time). Use a new requestId for each entry or correction, and the same one only to retry. A correction for the same day replaces your latest entry, unless the person has edited that entry in Xale: then theirs is kept and the correction goes after it. Sending the same words as your latest entry changes nothing.record_ entry
Milestones
xale_One milestoneReadOne Milestone by id with notes, recurrence, linked Tasks and Habits, Note, Mindmap, Projects and People, and Notes, Lists and Meetings that name it. Returns up to 100 visible Tasks and 100 visible Habits. holdsTruncated means additional visible children were found. A null taskCount or habitCount means the scan ended before an exact visible count was known. linkedTaskId is the older single Task link. onGoogleCalendar says whether Xale has put the Milestone on the person's Google Calendar.read_ milestone xale_New milestoneWriteCreate a Milestone: a date or moment the person plans towards (a launch, an exam, a wedding, a trip, a birthday), optionally with times and Areas, and optionally the Tasks (each with sub-tasks) and Habits (each with steps and a cadence, daily if left out) it holds, up to 49 Tasks and Habits in total, created together with it or not at all. Not for ordinary appointments or time in the day: those are time blocks (xale_plan_block).create_ milestone xale_Change fieldsWriteChange a Milestone's title, dates, times, notes or links. linkedTaskId sets or clears the Milestone's older single task link (null clears it) and never changes a Task. To put Tasks or Habits in a Milestone, create them with milestones on xale_create_task or xale_create_habit, or call xale_change_links on each with milestones.update_ milestone
Areas and categories
xale_List AreasReadThe Areas the person organises their life into. Other items refer to them by id in areaIds.read_ areas xale_New AreaWriteAdd an Area: a part of life the person organises things into (Work, Health, Family), with an optional emoji and colour. If one with that name exists, Xale returns it (alreadyInXale). Ask the person first. Removing an Area isn't available here: the person can do it in Xale.add_ area xale_RenameWriteRename an Area (id from xale_read_areas). Ask the person first.rename_ area xale_Activities, relationships and groupsReadThe person's Activities, relationship types and person groups. Time blocks name an Activity by activityId, and people name relationship types and groups by id; this gives their names.read_ categories
People
xale_List peopleReadThe people the person keeps in Xale.read_ people xale_One personReadOne person by id, with linked items.read_ person xale_New personWriteAdd a Person to Xale: their name, and optionally other names (aliases), email addresses, notes, relationship types (ids from xale_read_categories), Areas (xale_read_areas) and People Groups (xale_read_categories). Xale first looks for them among existing People by name, other names and email, and returns that Person instead of adding them twice (alreadyInXale). Show the person who you'll add and add them only after they say yes; then offer to link them to what you saved (xale_change_links).add_ person xale_Change detailsWriteChange a Person's name or notes (notes you send replace theirs; null clears them), or add and remove their relationship types, Areas, People Groups, other names and email addresses. What you don't name is kept. Show the person the change and save it after they say yes. Removing a Person isn't available here: the person can do it in Xale.update_ person xale_New groupWriteCreate a People Group (Family, a team, a book club), optionally with its first members (personIds from xale_read_people). If one with that name exists, Xale returns it instead (alreadyInXale). Ask the person first.create_ people_ group xale_Edit groupWriteAdd People to a People Group (groupId from xale_read_categories), or take them out. Members you don't name are kept. Ask the person first.change_ people_ group_ members
Links
Proposals
xale_Suggest new itemsWriteWhile the person is away, suggest a Task, Habit, Milestone, time block, Note or List instead of creating it. Nothing is created until they accept.propose xale_Pending onesReadThings a connected AI suggested while the person was away, waiting for them to accept or dismiss.read_ proposals xale_ApplyWriteCreate a suggestion once the person said yes in the chat; send their words in personSaid.accept_ proposal xale_DropWriteDrop a suggestion the person doesn't want.dismiss_ proposal
Removals
xale_Step oneWriteStep 1 of archiving or removing something: archive a Task, Milestone, Mindmap, Note, List, Meeting or Habit (prefer archiving: it can be undone); move a Capture to Trash; or delete a Mindmap branch. Returns exactly what would change and a removalId. Nothing changes yet: show the person the preview and ask them to confirm (unless they gave a standing yes).prepare_ removal xale_Step twoWriteStep 2: remove what xale_prepare_removal previewed, once the person said yes. Send their words in personSaid; Xale keeps them as the record. Removes only what was previewed; if it changed, nothing is removed and you prepare again. Then tell the person what was removed (tellThePerson).confirm_ removal xale_Person's switchWriteOnly when the person tells you that you may remove things in Xale without asking each time: record their words. You still preview each removal and tell them what you removed. They can turn it off with you or in Xale.allow_ removals xale_Switch offWriteWhen the person wants you to ask before each removal again.stop_ allowing_ removals
Check-ins and workflows
xale_What's dueReadThe person's recurring workflows: which app owns each, runs left, what's due and any missed runs. Check this when the person starts a chat, and do what's due and yours.read_ check_ ins xale_Start oneWriteRegister a recurring workflow you'll run for the person. Every one is finite (a set number of runs, then it ends) and at most 5 run at once. Set your own reminder first if you can, and say truthfully whether you did (reminderSet). Xale itself sends no reminders or notifications: a run happens only when your own reminder fires or when the person next chats with you, so tell them which. To nudge them about a Habit, use workflowId daily-check-in with itemKind habit, at the time they choose (reminderNote).take_ on_ check_ in xale_Stop oneWriteStop a check-in you own, when the person asks or it no longer makes sense. Remove your reminder too.end_ check_ in xale_List workflowsReadReady-made workflows the person can hand you (check-ins, reviews, planning, lists, briefs, Captures). Use only when the person asks for help with that kind of thing; never pitch them unprompted.find_ workflows xale_One workflowReadA workflow's instructions and only the context it needs: the item's title, or one Mindmap branch (mapNodeId). Follow them.get_ workflow xale_Start a runWriteStart one run of a check-in. Say whether the person is in the chat (attended). While a run is unattended nothing is removed and no suggestion is accepted. Returns a runId: report the run once with it.begin_ run xale_Finish a runWriteReport how a run went, with its runId: answered, no answer, nothing new, found items, couldn't access, or skipped. Reporting the same run again changes nothing. The last run ends the check-in: then tell the person and remove your reminder.report_ run
How I use Xale
xale_Read themReadHow the person wants you to use Xale: their saved answers (null if none yet), and the four interview questions to ask, in order, when they want to tell Xale or change their answers.read_ my_ instructions xale_Save themWriteSave the person's answers to Xale's interview about how they want you to use Xale: … Ask first: show them a short summary and save only after they say yes; send their words in personSaid. This replaces any answers saved before, and every AI connected to their Xale then sees them. They can also change them in Xale under Settings › Connected apps.save_ my_ instructions