Attach sending accounts
set_campaign_inboxesChoose which mailboxes a campaign sends from. THIS REPLACES THE ATTACHED SET: any inbox you leave out is detached. Call list_inboxes with the campaign_id first and resend the ones already attached unless the user wants them removed. Works for both campaign types. Attaching does not send anything — it only decides which mailbox would be used.
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": {
"campaign_id": "<campaign_id>",
"inbox_ids": "<inbox_ids>"
},
"name": "set_campaign_inboxes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_ids | Yes | THE COMPLETE SET of inboxes this campaign should send from. This REPLACES what is attached now — any id you leave out is detached. Call list_inboxes with this campaign_id first and include the ones already attached, unless the user asked to change them. An empty array detaches everything, which stops the campaign being able to send. | |
| campaign_id | Yes | The campaign to attach mailboxes to. Works for both types. | |
| idempotency_key | No | Optional. Send the SAME value when retrying a call you are unsure completed. |