Write Site Files
write_site_filesAdd or overwrite specific files on an existing site without touching other files. Use this to update an existing page, add a new asset, or fix a typo. Limit: 200 files per call, 1 MB per file.
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_id": "<site_id>",
"files": "<files>"
},
"name": "write_site_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to write. Each entry is a path + UTF-8 content string. | |
| site_id | Yes | The site's public identifier returned by list_sites or create_site. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| written | Yes | ||
| warnings | No |