Compare Ads
postly_compare_adsCompares 2 to 20 ads from postly_list_ads on one metric and explains which performed best and why. Pass each ad as its key and snapshot_id. Requires ads.read.
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": {
"workspace_id": "<workspace_id>",
"ads": "<ads>",
"metric": "<metric>"
},
"name": "postly_compare_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ads | Yes | ||
| metric | Yes | ||
| workspace_id | Yes | Postly workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| message | No |