write_file
Write or overwrite a text file in a site's container.
Creates parent directories if they don't exist.
Requires: API key with write scope.
Args: slug: Site identifier path: Relative path to the file content: File content as a UTF-8 string
Returns: {"success": true, "path": "...", "size": 1234}
Errors: NOT_FOUND: Unknown slug FORBIDDEN: Protected system path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| slug | Yes | ||
| content | Yes |