Write Website File
site_write_fileWrites a TEXT file to the user's hosting website (HTML/CSS/JS/JSON/SVG) — creates it or overwrites. Live immediately. No SFTP/SSH needed. IMAGES/BINARIES: do NOT write them here and do NOT paste base64 into HTML. Passing image bytes through chat (as base64) burns huge amounts of tokens and can exhaust the context. Instead use site_fetch(url, 'assets/img/x.webp') — it downloads the file SERVER-SIDE (the bytes never enter the conversation) and you reference it with .
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| site | No | ||
| server | No | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||