confluence_find_replace
Find and replace text in Confluence pages in one step, preserving formatting. Specify page, find, and replace; optionally replace all with a version message.
Instructions
Fetch a Confluence page, find and replace text, and push the result in one step.
Combines get_page + edit_page + push_page into a single call. Only replaces
within text content nodes — structural ADF elements are never modified.
Args:
page_id: A numeric page ID or a Confluence URL (including short /wiki/x/ links).
find: The text to find in the page content.
replace: The text to replace it with.
replace_all: If true, replace all occurrences. If false, replace only the first.
version_message: Optional message describing the change.
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": "<find>",
"replace": "<replace>"
},
"name": "confluence_find_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| page_id | Yes | ||
| replace | Yes | ||
| replace_all | No | ||
| version_message | No |