upload_remote_file
Put a file from the agent file store into a connected storage (Google Drive, OneDrive, SharePoint, Dropbox, ownCloud). Required: root_id (roots[].id from list_file_accounts), path (from create_file_upload_url, or a WhatsApp attachment path). Optional: folder_id (target folder id; Dropbox/ownCloud: the folder path; empty = root), name (file name there; default: the stored name). Returns the new file with its web 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": {
"root_id": "<root_id>",
"path": "<path>"
},
"name": "upload_remote_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the remote file | |
| path | Yes | Path in the agent file store, from create_file_upload_url or a WhatsApp attachment | |
| root_id | Yes | ID of the root folder | |
| folder_id | No | ID of the folder |