start_upload
Prepare an upload of a local folder (for example a build output like dist/). Returns a one-time token and a shell command to run; only changed files are transferred. Valid for 60 minutes.
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": {
"site": "<site>"
},
"name": "start_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "replace" (default): the folder becomes the whole site. "merge": add/overwrite only. | |
| site | Yes | ||
| message | No |