zalo_upload_image
Upload a local JPG or PNG image (max 1 MB) to Zalo OA and get an attachment_id for Zalo messaging workflows.
Instructions
Upload a local image file (JPG/PNG, max 1MB) to Zalo OA and receive an attachment_id.
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": {
"file_path": "<file_path>"
},
"name": "zalo_upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or relative path to the local image file |