create_rf_prediction
Generate a reach and frequency prediction for a Meta ad campaign by providing targeting JSON, budget in cents, and scheduling details.
Instructions
Create a new reach & frequency prediction. Provide targeting spec as JSON string, budget in cents, and scheduling info.
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": {
"target_spec": "<target_spec>",
"start_time": "<start_time>",
"stop_time": "<stop_time>",
"budget": "<budget>",
"frequency_cap": "<frequency_cap>",
"destination_id": "<destination_id>"
},
"name": "create_rf_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | Yes | Budget in account currency cents | |
| stop_time | Yes | Prediction stop time (ISO 8601 or Unix timestamp) | |
| account_id | No | Ad account ID to create the prediction in (e.g. 'act_123' or '123'). Falls back to META_AD_ACCOUNT_ID env var if omitted. | |
| start_time | Yes | Prediction start time (ISO 8601 or Unix timestamp) | |
| target_spec | Yes | JSON string of targeting specification | |
| frequency_cap | Yes | Maximum frequency cap per user | |
| destination_id | Yes | Destination ID (e.g. Facebook Page ID) |