Set wiki page deprecated
set_wiki_page_deprecatedMark a wiki page DEPRECATED — kept for reference, no longer current — or take the mark off (deprecated: false), as the page's own screen does. Optionally say why ('reason', at most 500 characters) and which page to read instead ('replacementPageId', a page you can open). Marking a page that is already marked changes its reason and replacement. The mark is the page's label 'deprecated' (so search_wiki with label 'deprecated', and CQL label = deprecated, list such pages); who marked it, when and why is kept in the page's history, and the page, its tree row and search show it. It is no edit of the text and makes no version; an approval of the page stands. Requires permission to edit the page.
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": {
"id": "<id>"
},
"name": "set_wiki_page_deprecated"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Page id. | |
| reason | No | Why it is no longer current, in a sentence. Ignored when taking the mark off. | |
| deprecated | No | true to mark the page deprecated (or change its reason and replacement), false to take the mark off. | |
| replacementPageId | No | The page to read instead (its id, as search_wiki gives it). Ignored when taking the mark off. |