update-wiki-page-body
Replace specific text in an existing wiki page body while keeping the title and remaining content intact. Use it for small targeted edits in long pages by matching exact text.
Instructions
Replace part of a wiki page body (위키 본문 일부 치환).
Use this instead of update-wiki-page when only a few spots in a long page change. The title and the rest of the body stay as they are.
Rules:
oldText must match the current body exactly (copy it from get-wiki-page)
Fails if oldText is not found
Fails if oldText appears more than once, unless replaceAll is true
Examples:
{"wikiId": "123", "pageId": "456", "oldText": "v1.2", "newText": "v1.3"}
{"wikiId": "123", "pageId": "456", "oldText": "TODO", "newText": "완료", "replaceAll": true}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | Wiki page ID (required) | |
| wikiId | Yes | Wiki ID (required) | |
| newText | Yes | Replacement text | |
| oldText | Yes | Exact text to replace in the current body | |
| replaceAll | No | Replace every occurrence (default: false) |