Read file
read_fileReads one file from a Pagehaus site, using the Pagehaus files API (https://pagehaus.app/help/api). path is a file inside the site, such as "/index.html". Text files (HTML, CSS, JS...) come back as text, other files as base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path from the site's top, e.g. "/index.html". | |
| site | Yes | The site name. |