Edit page
wiki_editChange part of a page: replace one exact string in its content and leave the rest as it is. oldString must occur exactly once, with enough of the surrounding text to make it unique, unless replaceAll is set. Prefer this to wiki_write for any change smaller than the whole page. The result's problems name the links on the page that point at nothing; fix them unless the page they name is about to be written.
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": {
"path": "<path>",
"oldString": "<oldString>",
"newString": "<newString>",
"org": "<org>"
},
"name": "wiki_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | slug of the organization whose wiki to use. Required on every call, even when only one organization is listed; a path never names it. | |
| path | Yes | The wiki's name, a colon, then the page's dot-separated path (general:docs.deploy). | |
| message | No | A brief note on the change. | |
| newString | Yes | The text to put in its place. | |
| oldString | Yes | The exact text to replace, copied from the page as read. | |
| ifRevision | No | The revision returned by wiki_read. | |
| replaceAll | No | Replace every occurrence. |