Read Hosting File
read_hosting_fileReads text or binary files from a domain's Secure Static Hosting so you can edit pages without rebuilding, then republish the changes.
Instructions
Read files back from a domain's Secure Static Hosting, so you can change a page without rebuilding it: read index.html, edit only what the user asked (e.g. the opening hours), show them the change, then publish it with deploy_site. Text files come back as text (the exact source, HTML and all, unlike fetching the live page), others as base64 content. Up to 20 paths per call; list_hosting_files shows what is there.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"paths": "<paths>"
},
"name": "read_hosting_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | File paths, e.g. ["index.html", "style.css"]. | |
| domain | Yes | Domain whose hosting files to read. |