Get site content
get_site_contentFetch a site's current entry document by id so you can edit it and push the result back with update_site: the read half of the round-trip get_site and list_sites omit (they return only metadata, never the body). Returns the live document inline as UTF-8 (encoding: "utf-8") for HTML/Markdown/text/SVG/JSON, or base64 (encoding: "base64") for binary content like PDFs and images, alongside content_type, content_kind, and content_hash. A site whose content_kind is not html was rendered from a file (Markdown, a notebook, a Word, PowerPoint or Excel file, a CSV, a PDF, an image, a video, an audio, a Mermaid diagram or a text file): what comes back is its rendered page, not the file, and the result says so in note. To change such a site, send a new file to update_site; sending edited HTML turns it into an HTML site. Pass original true to fetch the uploaded file itself when the page offers it for download (get_site reports original_included); refused when it does not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The id of the site whose content to fetch | |
| original | No | Fetch the uploaded file the page carries for download (a .pptx, an image, a CSV) instead of the rendered page | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |