mcpDeterministic

Save campaign brief

tools/call

Validate and persist a campaign brief authored by the caller. This deterministic write never invokes Pipeline hosted inference and always saves as a draft.

Parameters

workspaceId
string
Optional with API key auth, inferred from the key.
planrequired
object
No description.
ideaId
string
No description.
icpProfileId
string
No description.
idempotencyKey
string
Caller-stable key for retry-safe brief creation.

Example

MCP tools/calljson
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "save-campaign-brief",
"arguments": {
"plan": {}
}
}
}

Response

Success response schemajson schema
{
"type": "object",
"properties": {
"brief": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"status": {
"type": "string"
},
"plan": {
"type": "object"
}
},
"required": [
"id",
"workspaceId",
"status",
"plan"
]
},
"validation": {
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"errors": {
"type": "array",
"items": {
"type": "string"
}
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"valid",
"errors",
"warnings"
]
}
},
"required": [
"brief",
"validation"
]
}

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