Deliver Tool
amount.deliverSends site files or folders to a storage mount for backup or transfer; runs in background and returns a run UUID to poll for completion.
Instructions
Send a file or a whole folder from the site to a storage mount (back up / put on Google Drive, or onto one of the person's own computers - see amount.computers; a computer's name such as "mypc" works as mount, with folder = "/"). When a name is taken at the other end, a newer file replaces an older one only if destructive tools are allowed for this call, otherwise it is kept and the result says so. Runs in the background and returns at once with a run uuid: poll amount.status with it until finished is true. The manager must be able to see the path in the file manager, otherwise the call is refused. If mount is omitted or unclear the call fails with candidates=[{uuid,name,...}]: ask the person which one, then call again with that uuid. With move=true the local copy is deleted after a verified upload (destructive; only when asked).
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": {
"path": "<path>"
},
"name": "amount.deliver"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| move | No | Delete the local file after a verified upload. Default false. | |
| path | Yes | Site-relative file or folder, e.g. "assets/images/cat.png" or "assets/backup" | |
| site | No | The site the person named ("site.com"): refused if this installation does not serve it. | |
| mount | No | Mount uuid (preferred) or a name such as "google drive" | |
| folder | No | Remote folder to put it in, e.g. "Pictures/Cats" (default: the top) | |
| public | No | Keep the file publicly reachable at its site URL. Default false (private). | |
| on_conflict | No | "skip" keeps a file already there; "newer" lets a newer file replace an older one (needs destructive permission). Default: newer when destructive tools are allowed, else skip. |