Publish several files
write_filesCreates or overwrites up to 100 files in one call (30 MB total). Ideal for publishing a whole website. Each file has path, content and optional encoding ("utf8" or "base64").
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>",
"files": "<files>"
},
"name": "write_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The website's domain, as shown by list_sites (e.g. "example.com" or "name.hostingfor.ai"). | |
| files | Yes | The files to create or overwrite (1 to 100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| saved | No | ||
| failed | No | ||
| warnings | No |