Save file
save_fileSave a user-shared file to private AdChat storage: base64 up to 3 MB, or a public HTTPS URL up to 20 MB (images 50 MB). Local files on disk: start_upload. For the user to upload in a browser: get_upload_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": {
"name": "<name>"
},
"name": "save_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | Yes | ||
| account_id | No | e.g. act_1234567890 | |
| content_base64 | No |