send_test_event
Send a test event to verify Meta Ads Conversions API integration. Validate event tracking and data parameters before launching campaigns.
Instructions
Send a test event via the Conversions API Test Events endpoint.
Args: pixel_id: Pixel ID (numeric string). event_name: Event name to send (default 'PageView'). test_event_code: Test event code from Events Manager. If not provided, generates a temporary one. custom_data: Optional JSON string of custom_data params (e.g., '{"value": 10.00, "currency": "EUR"}').
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": {
"pixel_id": "<pixel_id>"
},
"name": "send_test_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixel_id | Yes | ||
| event_name | No | PageView | |
| test_event_code | No | ||
| custom_data | No |