Upload an image for a ChatGPT Ads ad
chatgpt_ads_upload_imageGive OpenAI a public https image URL to use in an ad and get back a file id for chatgpt_ads_create_ad. Previews by default (dryRun true). Only works where the user has allowed changes.
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": {
"imageUrl": "<imageUrl>"
},
"name": "chatgpt_ads_upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only (the default): reads the current value and shows exactly what would change (before and after) without sending anything. Set false only after the user has seen the preview and agreed. | |
| imageUrl | Yes | A public https URL of the image. | |
| accountId | No | The ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out. |