Replace a page
journal-set-pageReplaces a journal page's entire HTML content with the provided markup, overwriting existing content.
Instructions
Replace the whole HTML content of a text page with the given HTML, stored as sent. Nothing is appended or wrapped. For content larger than one message, write the first chunk here and add the rest with journal-append-page, or use journal-page-from-file.
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": {
"journalId": "<journalId>",
"pageId": "<pageId>",
"html": "<html>"
},
"name": "journal-set-page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The new HTML content of the page. | |
| pageId | Yes | Id of the page, from list-journals. | |
| journalId | Yes | Id of the journal, from list-journals. |