Send preview

Text a preview of a campaign message to one phone number.

MCP tool postscript_write → send_preview

write Confirm

Uses Send Preview next to the message in Flow Builder and the phone number you give. It reaches a real phone and counts as usage, so use your own number. Returns sent once Postscript accepts it. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_preview
NameTypeDescription
campaign_id string required string Campaign from list_campaigns or create_campaign.
phone string required string Phone number to text.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "postscript_write",
    "arguments": {
      "operation": "send_preview",
      "arguments": {
        "campaign_id": "campaign_8c41d2",
        "phone": "phone"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "campaign_id": "f_51877",
    "phone": "+1 555 0100",
    "status": "sent"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.