write_files
Create, replace and delete files in one deploy that goes live immediately. Use utf8 for text and base64 for small binary files. For large or many files use start_upload instead. Allowed: HTML, CSS, JavaScript, JSON, text, XML, SVG, web fonts, images (PNG, JPEG, GIF, WebP, AVIF, ICO) and PDF; binary files must really be what their extension says.
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": "write_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| files | No | Files to create or replace. | |
| delete | No | Paths to remove in the same deploy. | |
| message | No | Short description of the change, kept in the deploy history. |