upload_image
Upload ad images from a public URL or local file path, returning an image hash for use in Meta Ads creatives.
Instructions
Upload an ad image from a public URL or a local file path. Returns image hash for use in ad creatives.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the image to upload | |
| name | No | Name for the uploaded image (defaults to the file name when file_path is used) | |
| file_path | No | Local filesystem path of the image to upload (sent as raw bytes; no public hosting needed) |