mcpDeterministic

Prepare campaign launch

tools/call

Run the canonical campaign readiness contract, then create or repair the complete draft campaign from one explicit active brief and its ICP-fit, written table. Missing GTM context, strategy, offer, persona, or providers returns the same missing and nextActions response used by Launchpad. A ready campaign returns an expiring approvalId plus production review URLs. This never activates live delivery.

Parameters

workspaceId
string
Optional with API-key auth. Inferred from the key.
briefIdrequired
string
Exact active campaign brief ID.
tableIdrequired
string
Exact agent-pipeline table ID bound to the brief.
rowIds
string[]
Optional exact enrichment row IDs to enroll. Every selected row must still have icp_fit set to true and have current approved copy.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "prepare-campaign-launch",
"arguments": {
"briefId": "00000000-0000-4000-8000-000000000000",
"tableId": "00000000-0000-4000-8000-000000000000"
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"ready": {
"type": "boolean"
},
"campaignPackageId": {
"type": "string"
},
"missing": {
"type": "array",
"items": {
"type": "string"
}
},
"nextActions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"action": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"action",
"reason"
]
}
},
"reason": {
"type": "string"
},
"approvalId": {
"type": "string"
},
"approvalExpiresAt": {
"type": "string"
},
"campaignId": {
"type": "string"
},
"briefId": {
"type": "string"
},
"briefName": {
"type": "string"
},
"sourceTableIds": {
"type": "array",
"items": {
"type": "string"
}
},
"qualifiedWrittenRows": {
"type": "number"
},
"existingCampaignId": {
"type": [
"string",
"null"
]
},
"existingCampaignStatus": {
"type": [
"string",
"null"
]
},
"channels": {
"type": "object"
},
"workflow": {
"type": "object",
"properties": {
"icpScoringEnabled": {
"type": "boolean"
},
"nodeTypes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"icpScoringEnabled",
"nodeTypes"
]
},
"reviewUrls": {
"type": "object",
"properties": {
"strategyBrief": {
"type": "string",
"format": "uri"
},
"table": {
"type": "string",
"format": "uri"
},
"campaign": {
"type": "string",
"format": "uri"
},
"campaignWorkflow": {
"type": "string",
"format": "uri"
}
},
"required": [
"strategyBrief",
"table"
]
}
},
"required": [
"ready",
"missing",
"nextActions"
]
}

JSON-RPC errors

-32602
Invalid parameters. Field-level details are returned in the JSON-RPC error data.
-32001
Authentication or hosted AI consent is required.
-32003
Workspace access is denied.
-32029
The request was rate limited.
Pipeline MCP documentation | Pipeline