hermosodocs

save_to_swipefile

Save ads to the swipefile

Area: SWIPEFILE · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

Description

Save one or more ads/creatives to a named SWIPEFILE collection, creating the collection if it does not exist — the headless twin of the heart on every ad card in the web app. Use it whenever research turns up something worth keeping: a competitor ad from search_meta_ads / pull_competitor_ads, an organic post, or one of your own renders. Saved ads persist to the workspace board the web Swipefile tab shows, and feed the taste signal every future ad is planned against. De-dupes: re-saving the same ad (same key/link/media) MOVES it into the named collection instead of duplicating it. Free.

Parameters

ParameterTypeDescription
brandstringprofile id/name from list_brands, this call only
collectionrequiredstringthe collection name — an existing one, or a new one to create
itemsrequiredobject[]the ads to save
items[].keystringa stable id for this ad if you have one (an ad_archive_id, creativeId, …). Omit and one is derived from the link/media so re-saving is idempotent
items[].advertiserstringthe brand running the ad
items[].page_namestringalias of advertiser: the field search_meta_ads returns, accepted as-is
items[].pageNamestringalias of advertiser
items[].titlestringheadline / hook
items[].bodystringthe ad copy
items[].imagestringimage URL
items[].videostringvideo URL
items[].linkstringlink to the ad in its library / the destination URL
items[].platformstringwhere it ran — 'meta', 'google', 'linkedin', 'tiktok', 'generated', …

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/save_to_swipefile.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"save_to_swipefile","arguments":{"collection":"<string>","items":"<array>"}}}

CLI

hermoso call save_to_swipefile --json '{"collection":"<string>","items":"<array>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 143 Workspace & account tools · tools.json