Create a campaign
create_campaignWrite a new campaign from a short brief: who to email, where, and what you offer them. Pipefire writes the email sequence (two subject-line versions), starts finding and verifying the businesses, and saves it as a DRAFT. Nothing sends until you launch it. Read it with get_campaign. Takes up to a minute.
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": {
"audience": "<audience>",
"country": "<country>"
},
"name": "create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Campaign name. Defaults to audience and place. | |
| buyer | No | Who opens the email inside that business. Example: "the practice owner". | |
| offer | No | What you want the email to argue, in your own words. Example: "we fix their Google reviews in 30 days". | |
| place | No | City, region or state. Example: "Leeds" or "Ohio". Leave out for a whole-country online search. | |
| country | Yes | Two-letter country code. Example: "GB", "US", "SE". | |
| audience | Yes | Who to email, as a type of business. Example: "dentists" or "commercial roofing companies". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Link to the new campaign, where it is read and launched in the Pipefire console. | |
| status | Yes | Always draft: nothing sends until the user launches it. | |
| campaignId | Yes | The campaign id, for the other campaign tools. |