Mew. Work. Docs

Built-in tools›Agent orchestration

Send message

send_message
Group
Agent orchestration
Turned on by
The Subagent communication switch on the Advanced tools page of Conversation settings, with agent_spawn also on.
Approval
Not reviewed: runs without asking, within the limits on this page.
Profile key
tool.send_message.description

Sends a message to a subagent, by the name the model gave it when it started it.

Only a subagent started with agent_spawn can be messaged. A workflow run, a background command, a terminal or a dev server is refused. What happens next depends on the subagent:

  • Still running: it reads the message as a new user message before its next model request.
  • Finished, result already delivered: it is resumed in the background, with its full earlier context plus the message. The call returns at once, and the new result arrives like any other task result: through task_wait or as a message from Mewrk.
  • Finished, result not yet delivered: the message is refused and nothing changes. The model reads the result first and sends again if the subagent should go on.
  • Stopped by you: the message is refused and the subagent is not resumed. A subagent the model stopped with task_stop can still be resumed.

A resumed subagent's progress and transcript show on this call's card. See Subagents and workflows.

When it asks you

Never. The message runs no tool of the main agent's. What a resumed subagent then does is checked call by call under the conversation's security level, like any subagent's.

Limits

  • A message is up to 32,768 characters. summary, the short preview shown on the timeline, is up to 200.
  • to is a name agent_spawn accepted: it starts with a lowercase letter, uses only lowercase letters, digits, _ and -, and is at most 32 characters.
  • A resumed subagent counts toward the 16 that run at once. It waits its turn like a newly started one, behind those already waiting (agent_spawn).

Good to know

  • It has no row in the tool picker. The conversation gets it when Subagent communication (Conversation settings → Advanced tools) is on and agent_spawn is on too. The switch is off by default, and off in the built-in mewrk preset. Without agent_spawn it gives nothing.
  • Only the main agent has it. A subagent cannot message another subagent or the main agent with it. An agent role has no switch of its own: its subagents follow the conversation that starts them.
  • The same switch gives every subagent the main agent starts, workflow steps included, a subagent_update tool for sending the main agent short progress notes while it runs. Its final reply is still its result. subagent_update has no row in the tool picker and no page of its own. Such a subagent is also told that the main agent's later messages arrive as new user messages and carry instructions.
  • A subagent started while the switch was off keeps its original prompt and has no subagent_update, even if you turn the switch on later. Messages still reach it.

Parameters

ParameterTypeDetails
message required
Message
string—
to required
Child agent
stringName the child was spawned with.
summary
Summary
stringOptional 5–10 word preview shown on the timeline.