Draft HTML
get_draft_htmlRead back the full HTML of a page's unpublished draft — the work in progress behind its preview URL. Use it before editing a draft you did not write in this conversation: save_draft takes the COMPLETE document and replaces the draft with it, so without reading it first you would rewrite the page from scratch and lose whatever is already there. For the version visitors are actually seeing, use get_published_html.
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": {
"pageId": "<pageId>"
},
"name": "get_draft_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page whose draft to read, as returned by save_draft or list_pages. |