Write site file
write_site_fileCreate or replace a whole file of an HTML-first site. Replacing needs baseVersion from read_site_file; prefer edit_site_file for changes. A new pages/.liquid also creates its page. A site's JavaScript is a file assets/<name>.js (lowercase, flat), linked with .
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| path | Yes | ||
| text | Yes | ||
| baseVersion | No | Omit only for a new file. |