mcpDeterministic

Preview campaign source

tools/call

Persist the exact campaign-bound sourcing preview before pilot rows are written. Accepts at most 10 rows plus the claimed work order, active brief version, provider, resolved filters, and verified result ceiling. Returns an immutable sourcingPreviewId required by the pilot add-table-rows call.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.
claimTokenrequired
string
No description.
workOrderIdrequired
string
No description.
briefIdrequired
string
No description.
briefVersionrequired
integer
No description.
sourceScoperequired
string
No description.
providerrequired
string
No description.
accountId
string
No description.
resolvedFiltersrequired
object
No description.
requestedLimit
integer
No description.
availableCount
integer
No description.
rowsrequired
object[]
No description.
rejectedRows
object[]
No description.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "preview-campaign-source",
"arguments": {
"claimToken": "example",
"workOrderId": "00000000-0000-4000-8000-000000000000",
"briefId": "00000000-0000-4000-8000-000000000000",
"briefVersion": 1,
"sourceScope": "example",
"provider": "example",
"resolvedFilters": {},
"rows": [
{
"data": {}
}
]
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"sourcingPreviewId": {
"type": "string",
"format": "uuid"
},
"preview": {
"type": "object"
},
"verifiedCeiling": {
"type": "number"
}
},
"required": [
"sourcingPreviewId",
"preview",
"verifiedCeiling"
]
}

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