product_upload_image
Upload a local image to the Alibaba photo bank and receive a file_id and URL for use in product listings. The path must stay within the server's allowed directories.
Instructions
Upload one local image to the photo bank; returns {file_id, url}. The path is confined to the server's allowed directories.
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": {
"path": "<path>"
},
"name": "product_upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| group_id | No | ||
| account_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| url | No | ||
| error | No | ||
| cached | No | ||
| file_id | No | ||
| error_type | No |