zalo_upload_file
Upload a local PDF, DOC, or DOCX file (up to 5 MB) to a Zalo Official Account and receive a file token for subsequent Zalo workflows.
Instructions
Upload a local document/file (PDF, DOC, DOCX, max 5MB) to Zalo OA and receive a file token.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute or relative path to the local file |