Add Mission recipients
stack_add_mission_recipientsAdd who a running Mission may send to, for a policy rule that leaves recipients to each Mission: recipients, recipient_pins and reply_to_message, the same as at open, merged into the pins the Mission has (a pin on a field it already pins adds its values). Nothing already pinned is taken away. The owner's call; an agent cannot add to its own Mission. Returns mission_id and the recipient_pins the Mission holds now. A Mission that has ended answers 409.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mission_id": "<mission_id>"
},
"name": "stack_add_mission_recipients"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mission_id | Yes | Mission id (ms_*). | |
| recipients | No | Who this Mission may send to (exact addresses, numbers or ids), applied at every recipient field a send names, a recipient inside the URL included (the path or one of its segments, such as a channel id). A policy rule that leaves recipients to each Mission allows a send only to these. A recipient listed twice is kept once. The owner can add more to a running Mission. | |
| recipient_pins | No | Recipient pins for a policy rule that leaves recipients to each Mission: a list of up to 64 { path, op, value }. path is "*" (every recipient field a send names, the URL path included) or a request field such as body.to or url.pathname; op is eq (one exact value) or in (a list of exact values, up to 1,000 recipients); one pin per path. The owner can add more to a running Mission. | |
| reply_to_message | No | The id of a message you received, or of an incoming call you answered or declined (acall_*). The Mission may send only to the person who wrote it or called. Not found when the id is not an email, text, voicemail or answered or declined call of the agent's own account; an email whose sender could not be verified is refused with a plain message. |