Read a file on a Flowershow site
read-fileGet the current text of one file on one of the signed-in user's Flowershow sites, e.g. index.md. Use it before changing a page that is already on the site, then publish the whole updated file, so the parts you didn't mean to change stay as they are. Text files only (Markdown, HTML, CSS, JS, JSON, ...), up to 256 KB. Get siteId from list-sites and paths from list-files. If the user is not signed in yet, calling it asks them to sign in to Flowershow first.
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": {
"siteId": "<siteId>",
"path": "<path>"
},
"name": "read-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file, as returned by list-files | |
| siteId | Yes | siteId of the site, from list-sites |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| siteId | Yes | ||
| content | Yes |