images_add
Upload image assets to Tencent Ads using a URL or base64 encoded data. Specify account ID, upload type, and image signature.
Instructions
上传图片素材 (Upload image via URL or base64)
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": {
"account_id": "<account_id>",
"upload_type": "<upload_type>",
"signature": "<signature>"
},
"name": "images_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_url | No | 图片URL(upload_type=UPLOAD_TYPE_URL 时) | |
| signature | Yes | 图片签名 (MD5) | |
| account_id | Yes | 广告主账户ID | |
| description | No | 图片描述 | |
| upload_type | Yes | 上传方式: UPLOAD_TYPE_FILE / UPLOAD_TYPE_URL |