Append files to an existing drop
append_filesAdd files to a drop owned by the authenticated account (requires an sp_ API key and an active subscription): up to 10,000 files per drop in total, and existing paths are overwritten. The drop keeps its current expiry and password protection.
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": {
"slug": "<slug>",
"files": "<files>"
},
"name": "append_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The drop slug (the subdomain part of its ${domain} URL). | |
| files | Yes | Map of relative paths (e.g. 'index.html', 'css/app.css') to either a string, or { encoding: 'base64', content } for binary files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| plan | No | ||
| slug | Yes | ||
| files | Yes | Paths added by this call | |
| expires_at | Yes | ISO timestamp, or null when the drop never expires | |
| total_files | Yes | Total files on the drop after the append |