meta_upload_image
Validates and uploads a local JPEG or PNG to a Meta ad account and returns a reusable image hash; upload only occurs when confirm=true.
Instructions
Validate and upload one local JPEG/PNG to a Meta ad account, returning the reusable image hash. No upload occurs until confirm=true.
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": {
"image_path": "<image_path>"
},
"name": "meta_upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to upload the image to Meta. | |
| account_id | No | Meta ad account ID. Uses the active account or META_AD_ACCOUNT_ID when omitted. | |
| image_path | Yes | Local JPEG or PNG path beneath BURNR8_MEDIA_ROOT (defaults to the server working directory) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||