- name
- device_data
- title
- Device Data
- description
- Read cached contacts and calendar events from Muse storage. Delete Muse's local copy of either source without modifying paired devices.
- metadata
- { "includeInPrompt": true }
Device Data
Purpose
Read cached contacts and calendar events directly from Muse storage, without
contacting the device. Use it when a live read is not possible: the device is
offline, or it does not offer contacts.search/calendar.search. Delete all
locally stored contacts or calendar data when the user explicitly requests it.
The tool does not contact or mutate a device.
Commands
device-data --help
device-data contacts status
device-data contacts --delete-all
device-data contacts search --match-mode ranked \
[--query <text> [--phone-label <text>] \
[--locale <bcp-47>]] \
[--device <node_id>] [--limit <n>] [--offset <n>]
device-data calendar search [--query <text>] [--device <node_id>] \
[--start-date <YYYY-MM-DD>] \
[--end-date <YYYY-MM-DD>]
device-data calendar --delete-all
Both searches default to every eligible paired device. Use --device to scope
to one and omit --query to list.
Contact search combines literal display-name, phone, and email substring matches with token-level exact, locale-aware personal-name nickname, and phonetic name matching. With no locale or an English locale, ranked search applies OACR-style fuzzy matching only after ordinary name matching returns nothing for that source device. It compares cleaned query tokens of at least four characters against the cleaned full name and canonical indexed name tokens, including simplified name variants, allows one edit, and returns at most three fuzzy candidates per source device. Explicit non-English locales retain the existing bounded Unicode full-name edit-distance fallback. Ranked name evidence feeds the downstream call-authorization policy. Fuzzy, partial, and phonetic evidence must pass bounded token revalidation before a complete singleton autodials; literal matches never autodial. Nickname singletons rely on the explicit locale-selected nickname map. Weak, ambiguous, incomplete, or unanchored matches still require confirmation.
Ranked results also include selection_evidence. Its
spoken_name_collision_pairs identifies differently spelled plausible matches
whose full names have strong phonetic coverage in both directions; a nonempty
list sets requires_spoken_name_clarification, because spoken input has not
selected between them. Collision entries carry a comma-separated
spoken_spelling suitable for distinct TTS pronunciation in either a call or
message clarification.
Each contact includes , which groups safely equivalent
formatting variants into one destination and reports
and
. When is present,
reports how many distinct destinations carry
that label or a recognized equivalent such as and . Each option
includes a TTS-safe for the rare case where labels do not
distinguish the saved lines.