Update page
update_html_pageChange a page in place: the artifact_id, its brain object and its history stay, and the old page is kept as an earlier version. Call read_artifact with for_edit true first, then pass the whole new document, not a patch. The same rules as generate_html_page apply.
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": {
"artifact_id": "<artifact_id>",
"html": "<html>"
},
"name": "update_html_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The whole page: one HTML document with every style and script inline. | |
| title | No | A new title. Its <title> otherwise. | |
| artifact_id | Yes | An artifact_id from generate_html_page or list_artifacts. |