Skip to content

MCP tools

Each tool calls the universe’s own API and returns its JSON answer as text.

Sends an email from one of your addresses to simulated people. Returns its message_id.

InputRequiredMeaning
fromyesYour sending address.
toyesRecipients (a list).
subjectyesThe subject.
ccCopies (a list).
textPlain-text body.
htmlHTML body.

Calls POST /api/send.

Waits for the next email a simulated person sends, optionally in reply to a given message. By default their reply is written now instead of after their usual delay. A person may decide not to reply.

InputRequiredMeaning
fromyesThe person’s address.
in_reply_toThe message_id of your email.
timeout_secondsHow long to wait. Default 30.
fastWrite their due reply now. Default true.

Calls GET /api/wait/reply.

Waits for the next email to an address (or *@domain, or a tag). Returns its text plus any one-time codes and sign-in links; on a timeout, the emails that nearly matched and why they didn’t.

InputRequiredMeaning
toone of to, tagThe receiving address, or *@domain.
tagone of to, tagAddresses made with new_test_address and this tag.
fromPart of the sender’s address.
subjectWords in the subject.
containsWords in the body.
subject_regex, body_regexRegular expressions (RE2) the subject or body matches.
headerName:value a header contains.
link_domainThe email links to this host.
countWait for this many. Default 1.
timeout_secondsHow long to wait. Default 30.

Calls GET /api/wait. Only mail that arrives after the call starts counts.

Succeeds when nothing matching arrives for a while, such as no duplicate welcome email; fails with the email if one does.

InputRequiredMeaning
toyesThe receiving address, or *@domain.
fromPart of the sender’s address.
subjectWords in the subject.
for_secondsHow long to watch. Default 5.

Calls GET /api/wait/none.

Waits for something a person does: clicking a link (clicked), junking your email (junked), bouncing (bounced), replying (replied), declining (declined), promising (promised), or any kind from get_schema.

InputRequiredMeaning
typeyesAn event kind or short name; several, comma-separated.
personaOnly this person (address or id).
message_idOnly events about this message.
fastLet the person act now on what they have scheduled.
timeout_secondsHow long to wait. Default 30.

Calls GET /api/wait/event. Some kinds need your plan’s lifelike behaviour or Junk features.

Waits until no new message has joined a conversation for a while, then returns all its messages.

InputRequiredMeaning
message_idyesAny message of the conversation.
quiet_secondsHow long it must stay quiet. Default 10.
fastPeople reply now instead of on the simulated clock. Default true.
timeout_secondsDefault 60.

Calls GET /api/wait/thread.

The queue of replies, follow-ups and other actions people will take, with when they are due. Optional persona (address or id) and kind (reply, followup, nudge …). Calls GET /api/jobs.

Runs people’s pending replies and other scheduled actions now instead of waiting for the simulated clock; optionally only one persona’s, or one kind. Calls POST /api/jobs/run-due.

A new, unique address that catches mail with nobody simulated behind it. Optional prefix, domain (default inbox.test) and tag (such as your test run’s id; wait_for_email can then wait by tag). Calls POST /api/addresses.

Every setting this API takes, with the values it allows and what they mean: temperaments, event kinds, fault kinds and more. Calls GET /api/schema; see the settings reference.

Lists the messages in a mailbox folder, newest first, with the start of each message’s text.

InputRequiredMeaning
addressyesThe mailbox address.
folderINBOX (default), Sent, Junk …

Calls GET /api/mailboxes/{address}/messages.

Every mailbox in the universe, with message counts. No inputs. Calls GET /api/mailboxes.

The simulated people in the universe: who they are, what they want, how they behave. No inputs. Calls GET /api/personas.

Adds a simulated person who will receive and answer email.

InputRequiredMeaning
nameyesTheir name.
addressyesTheir email address.
roleSuch as homeowner or buyer.
orgTheir company.
whoWho they are.
wantsWhat they want.
temperamentresponsive, busy, procedural, skeptical, flaky, difficult or ghost.

Calls POST /api/personas.

Tells the simulation what your system knows about a matter, such as a deal or a ticket. The people involved learn the story and stay consistent with it.

InputRequiredMeaning
idyesYour id for the matter.
titleA short title.
knownWhat your system knows.
peopleThe people on it.

Calls PUT /api/cases/{id}; the other inputs are passed through as the case. See Cases for the fields the API accepts.

The spam score, link check, client compatibility and accessibility of an email you sent.

InputRequiredMeaning
message_idyesThe message_id from send_email.

Calls GET /api/inspect.

Moves simulated time forward; everything due on the way happens.

InputRequiredMeaning
durationyesSuch as 1h, 3h or 2d.

Calls POST /api/clock/advance.

What happened to the mail you sent: reached, junked, replied, clicked, how people feel.

InputRequiredMeaning
daysThe period. Default 30.

Calls GET /api/insights.