Save Ads to Vault
sonar_ad_spy_vault_saveWRITE tool — save Meta ads to the account's private vault: details are frozen and the media downloaded into Sonar's storage, so the ad survives being stopped or its links expiring. Saves what fits the plan's vault limit and reports the rest as over_limit; poll sonar_ad_spy_vault for status. An ad whose media links already expired is refetched once, which spends one Ad Spy lookup. Requires an Indie or Agency plan (a trial counts) and an authorized Sonar account or an API key with the write scope.
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": {
"creative_ids": "<creative_ids>"
},
"name": "sonar_ad_spy_vault_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creative_ids | Yes | Meta ads to save. | |
| competitor_id | No | The competitor these ads belong to (its Sonar app id). |