find_replace_in_page
Replace specific text on a Confluence page while preserving HTML structure. Provide page ID, the text to find, and replacement text to update.
Instructions
Find and replace text within a page, preserving all HTML structure.
Args: page_id: The page ID. find_text: Text to search for. replace_text: Text to replace it with. version_message: Optional commit message.
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": {
"page_id": "<page_id>",
"find_text": "<find_text>",
"replace_text": "<replace_text>"
},
"name": "find_replace_in_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| find_text | Yes | ||
| replace_text | Yes | ||
| version_message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |