Upload files
upload_filesStores files to be published, without changing any site. Omit upload_id to start a new upload; pass it to add files to the same one. Paths are relative to the site root, e.g. index.html or assets/app.css. Sending a path again replaces the earlier copy. Uploads expire after a day.
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": {
"files": "<files>"
},
"name": "upload_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| upload_id | No | The upload to add to. Omit to start a new upload. |