confluence_edit_page
Find and replace text in a cached Confluence page to update content without losing formatting. Use after fetching the page and before pushing changes.
Instructions
Find and replace text in a cached Confluence page.
Operates on the local cache file. Call confluence_get_page first to cache the page,
then use this to make edits, then confluence_push_page to publish.
Args:
page_id: The page ID to edit.
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.
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_edit_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| page_id | Yes | ||
| replace | Yes | ||
| replace_all | No |