Skip to main content
Send Mo a follow-up instruction, answer a question it asked, or redirect a session that is going the wrong way. If Mo is working, send stops the active turn first: in-flight tool work is interrupted, and Mo resumes from saved history with your message.

Arguments

string
required
The message to deliver.

Options

string
required
The session to message.
string
Wait for Mo’s response for up to this long, then print the new output the same way mo read does. Accepts 0 or a value such as 30s, 2m, or 500ms, up to 290s. Without --wait, the command returns as soon as the message is delivered.

Output

Without --wait, the command prints the current session state as JSON. With --wait, it prints Mo’s new messages as plain text on stdout and, when the wait runs out before Mo finishes, Mo is still working. on stderr.

Examples

Answer a question Mo asked, then wait for it to continue:

Notes

  • A message to an archived session fails. Unarchive the session in the dashboard first.
  • The delivery is retried once when the response is lost, so a message can be delivered even when the command reports a network error. Check with mo read before sending it again.