Monica
Log in
MCP 219 tools

Browse the tools
Available tools

Contacts

A contact is a person you record. Each has a page of their own, shaped by a template, holding what you know about them.

Choose a tool to see the parameters it accepts.

Tools

List the contacts of one vault, a page at a time, optionally narrowed by a search, a grouping or contact categories. Each contact comes with the columns the vault shows in its list.

vault string required
The id of the vault, as list-vaults gives it.
query string optional
Words to search the contacts of the vault for.
filter string optional
Only the contacts of one grouping. all, the default, leaves out archived contacts and people without a record of their own; names-only lists only the people without a record of their own; favourites lists only the favourites. One of: all, favourites, names-only
sort string optional
What the list is ordered by. One of: name, nickname, last-spoke, added
direction string optional
The direction of the order. One of: asc, desc
categories array optional
The ids of contact categories, as list-contact-categories gives them; only the people holding any of them.
page integer optional
The page to read, starting at 1.
per_page integer optional
How many contacts a page holds: 25 unless asked, 100 at most.

List every contact of one vault, a page at a time, with only its id, its name, whether it is partial and whether it is archived. People without a record of their own are included, archived contacts are not unless asked. Use it to see everybody at once, or to check whether a person already exists before adding them; use list-contacts to search or to read the columns of the list.

vault string required
The id of the vault, as list-vaults gives it.
filter string optional
partial keeps only the people without a record of their own; full keeps only the contacts with one. Both when left out. One of: partial, full
archived string optional
included adds the archived contacts. excluded when left out. One of: excluded, included
page integer optional
The page to read, starting at 1.
per_page integer optional
How many contacts a page holds: 100 unless asked, 500 at most.

List the contact categories held by the contacts of a vault, with how many contacts hold each. The id of a category is what list-contacts takes in categories.

vault string required
The id of the vault, as list-vaults gives it.
filter string optional
Count only the contacts of one grouping, as list-contacts narrows them. Every contact when left out. One of: all, favourites, names-only

Look one contact up in a vault.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.

Return everything recorded about one contact as a single Markdown document: names, fields, relationships, life events, groups, reminders and loans. The values of sensitive fields are given only to a key holding the sensitive fields scope. The export is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.

Look up the contact that stands for the account holder in a vault.

vault string required
The id of the vault, as list-vaults gives it.

List every way the name of a contact is written: in its own script, transliterated, or as it is pronounced, and which one it is shown under.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.

Record a new contact in a vault. The change is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
first_name string required
Their given name, the one part a contact cannot go without.
prefix string optional
What comes before the name, such as Dr.
middle_name string optional
Their middle name.
last_name string optional
Their family name.
suffix string optional
What comes after the name, such as Jr.
maiden_name string optional
Their name before marriage.
nickname string optional
What they are actually called.
name_order string optional
Which part of the name reads first. Left out, the reader decides. One of: given_first, family_first
is_partial boolean optional
True for somebody you know of rather than somebody you have written down. A partial contact is off the list of people and out of the count of the plan until they are made full. False when left out.
is_favourite boolean optional
True to put the contact at the top of the list. False when left out.
structure_version_id integer optional
The id of the published version of one of your active contact templates, as list-template-versions gives it, which says what the page of the contact holds. Left out, the contact starts from the template the vault uses for new contacts.

Correct the name of a contact. The change is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.
prefix string optional
What comes before the name, such as Dr.
first_name string optional
Their given name.
middle_name string optional
Their middle name.
last_name string optional
Their family name.
suffix string optional
What comes after the name, such as Jr.
maiden_name string optional
Their name before marriage.
nickname string optional
What they are actually called.
name_order string optional
Which part of the name reads first. One of: given_first, family_first

Replace every way the name of a contact is written, and choose the one it is shown under. A way left out of the list is deleted. Nothing is transliterated for you. The change is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.
name_representations array optional
Every way the name is written, in order. Each: id (to keep an existing one, as list-contact-name-representations gives it), kind (written, transliteration or phonetic), language (a BCP 47 tag such as ko), script (an ISO 15924 code such as Hang or Latn), phonetic_system (required for phonetic, such as ipa or piny), formatted_name, prefix, given_name, additional_name, family_name, suffix, name_order (given_first or family_first). Each needs a formatted_name or at least one part. A phonetic one holds parts only, never a formatted_name, and cannot be the one displayed.
display integer optional
The position in name_representations, from 0, of the way the contact is shown under. Required with name_representations, unless that list is empty.
nickname string optional
What they are actually called.
maiden_name string optional
Their name before marriage.

Write the values of one section of a contact, such as an address or a phone number, and the reminders its dates carry. The change is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.
section integer required
The id of the section, as get-template-version gives it for the version the contact uses.
fields object optional
The values to write, keyed by the id of the field. An address is an object of po_box, extended, street, city, region, postal_code and country, where country is a two letter code (as list-countries gives it), the id of a favourite country, "keep" to leave it as it is, or an empty string for none. A non empty country_name records the name of a place that is not on the list, as written, in place of country. A repeating field, such as phone numbers, is an array of rows, each an object of id (an existing row, left out for a new one), values (keyed by the id of the child field), labels, label_wordings and unknown_year (keyed the same way): [{"values": {"13": "+1 570 555 0100"}, "labels": {"13": 4}}]. Any other key in a row, a child that is not part of the field, and a field that is not in the section are refused.
labels object optional
The id of the label chosen for a field that takes one, such as Home or Work, as list-value-lists gives it, keyed by the id of the field.
label_wordings object optional
The wording typed for the open label, keyed by the id of the field.
year_is_unknown object optional
For a date, true when its year is not known, keyed by the id of the field.
month_is_unknown object optional
For a date, true when its month is not known either, keyed by the id of the field.
new_choices object optional
Wordings to add to the list of a multiple choice field and pick, keyed by the id of the field.
reminders object optional
For a date, such as a birthday, the reminder it carries, keyed by the id of the field, or null to take it away. The object takes cadence (once, weekly, monthly or yearly, yearly when left out), interval, time (HH:MM, 09:00 when left out), timezone and name. An empty object turns on a yearly reminder. The date need not be sent again in fields, and a date left out of reminders keeps its reminder.

Say what changing a contact's template would do, without changing anything: the answers that would be set aside under Unused answers, those that would come back, and the reminders that would stop or run again. Call it before change-contact-template and tell the person what it says.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.
template string required
The id of the template to preview, as list-templates gives it.
structure_version_id integer optional
A published version of that template, as list-template-versions gives it. Leave it out to preview what the template publishes now.

Put a contact on another template, or on another published version of its own. Answers with no matching field on the new template are set aside under Unused answers, not deleted, and reminders on them stop. Preview the change with preview-contact-template-change first and show the result to the person before calling this. The change is written to the account log and to the contact's version history.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.
template string required
The id of the template to put the contact on, as list-templates gives it.
structure_version_id integer optional
A published version of that template, as list-template-versions gives it. Leave it out to use what the template publishes now.

Mark a contact as a favourite, or stop marking them one.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.
favourite boolean required
True to mark them a favourite, false to stop.

Delete a contact, and keep everything they took part in. Nothing an assistant can call brings the contact back, so ask before calling it. The change is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
contact string required
The id of the contact, as list-contacts gives it.

Read which columns the people screen of a vault shows beside the name, what they are called and in what order.

vault string required
The id of the vault, as list-vaults gives it.

Choose the columns the people screen of a vault shows beside the name, in one call. This changes what the screen shows and nothing written on any contact. The change is written to the account log.

vault string required
The id of the vault, as list-vaults gives it.
columns array required
Every column after the name, in the order the screen shows them; it replaces whatever the vault held, and an empty array puts the defaults back. Each column: source (one of: nickname, email, phone, birthday, template, last-spoke, added, field), section (the uuid of the section holding the field, required when source is field), field_key (the key of the field, required when source is field), heading (null keeps the default heading) and is_visible (true or false). get-contact-list-columns gives the current columns in this shape.