Read site file
read_site_fileReturns the text of one file in a customer's SHARED hosting site's web root (HTML, CSS, JS, JSON, text…), up to 512 KB. ALWAYS read a file before changing it with write_site_files, and change only what the customer asked for. Binary files (images, fonts) are described, not returned. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to the web root, e.g. "index.html" or "about/index.html". | |
| domain | Yes | The hosted site's domain. |