Skip to content

Tool

update_campaign

Update campaign

SurfacesChat agentMCPCLI

Update a campaign's settings or content. Only works for campaigns in draft or in_review status. Use to edit subject, content, audience/segment, sender details (from/reply-to/preview text), or move/clear the proposed send time (null clears it).

CLI: tinbox update-campaign

Parameters

NameTypeRequiredDescription
idstringyesThe campaign id.
subjectstringnoNew email subject line.
contentstringnoNew email body content (markdown).
titlestringnoNew internal title.
audienceIdstringnoChange target audience.
segmentIdone ofnoChange the segment (null = whole audience).
▸expand segmentId
  • option 1string
  • option 2null
fromNamestringnoSender name.
fromEmailstringnoSender email.
replyTostringnoReply-to address.
previewTextstringnoInbox preview text.
proposedSendAtone ofnoMove the PROPOSED send time (Unix ms), or null to clear it. Draft-only; a human still schedules.
▸expand proposedSendAt
  • option 1integer
  • option 2null

Example

json
{
  "id": "<id>"
}