cdp_create_prediction
Create new prediction definitions in Acquia's Customer Data Platform by submitting JSON configurations through the API to support campaign targeting and analytics.
Instructions
Create a new prediction definition (POST /v2/{tenantId}/campaign/predictionDefs). Pass the full definition as a JSON string.
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": {
"body": "<body>"
},
"name": "cdp_create_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tenant_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |