upload_file
Save a file the person shared in the chat (photo, PDF, audio, video, CSV/text) into the app's storage and get back a permanent https url to use in add_feature items/config (gallery imageUrl, audio/video library url, property photoUrls, guest guide documentUrl, logo, etc.). Pass the file as base64 (dataBase64) or a link to it (url). Limits: images 10MB, PDF 20MB, audio 30MB, video 60MB. For bigger files ask for a Dropbox/Drive link.
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": {
"appId": "<appId>"
},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| appId | Yes | ||
| fileName | No | ||
| mimeType | No | ||
| dataBase64 | No |