Meta: Create Ad Creative
meta_create_creativeCreate a single-image or single-video ad creative in your Meta ad account's creative library, to use later with meta_create_ad's creative_id. A creative does not run or spend on its own. Images and video thumbnails are uploaded to the ad account; a video_url is uploaded and must finish processing (retry with the returned video id if it is still processing). Optionally shows an Instagram account as the identity on Instagram placements (see meta_list_instagram_accounts).
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": {
"format": "<format>",
"ad_text": "<ad_text>"
},
"name": "meta_create_creative"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional creative name. | |
| format | Yes | IMAGE or VIDEO. | |
| ad_text | Yes | Primary ad text / body copy. | |
| page_id | No | Facebook Page id. Defaults to the ad account's Page when there is one. | |
| headline | No | Optional headline. | |
| link_url | No | Destination URL. Required, except with call_to_action WHATSAPP_MESSAGE, where the button always opens WhatsApp. | |
| video_id | No | VIDEO: id of a video already in the ad account, instead of video_url. | |
| image_url | No | IMAGE: public https JPEG or PNG, uploaded to the ad account. | |
| video_url | No | VIDEO: public URL of the video file to upload. | |
| ad_account_id | No | Meta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. | |
| thumbnail_url | No | VIDEO: optional thumbnail image URL. Defaults to Meta's preferred frame of the video. | |
| call_to_action | No | Button on the ad, pointing at link_url. Optional for IMAGE; VIDEO defaults to LEARN_MORE. WHATSAPP_MESSAGE opens a WhatsApp chat with the Page's linked number and only runs in an ad set whose destination is WHATSAPP. | |
| link_description | No | Optional text under the headline. | |
| instagram_account_id | No | Optional Instagram account id shown on Instagram placements. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | IMAGE or VIDEO. | |
| videoId | No | Video the creative plays, for VIDEO. | |
| imageHash | No | Uploaded image or thumbnail hash. | |
| creativeId | Yes | Id of the new creative. | |
| adAccountId | Yes | Ad account the creative was created in. |