update-page
Modify wiki pages by replacing existing content with updated text. Requires a page title, new source content, and a base revision ID for accurate updates.
Instructions
Updates a wiki page. Replaces the existing content of a page with the provided content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
comment | No | Summary of the edit | |
latestId | Yes | Identifier for the revision used as the base for the new source | |
source | Yes | Page content in the same content model of the existing page | |
title | Yes | Wiki page title |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"comment": {
"description": "Summary of the edit",
"type": "string"
},
"latestId": {
"description": "Identifier for the revision used as the base for the new source",
"type": "number"
},
"source": {
"description": "Page content in the same content model of the existing page",
"type": "string"
},
"title": {
"description": "Wiki page title",
"type": "string"
}
},
"required": [
"title",
"source",
"latestId"
],
"type": "object"
}