edit_confluence_content
Edit Confluence pages by viewing, inserting, replacing, or removing lines in a scratchpad buffer, then submit changes.
Instructions
Line-addressed content editing within a scratchpad buffer. View, insert, replace, or remove lines, then submit to Confluence. Requires a scratchpadId from create or pull_for_editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | The editing operation to perform | |
| scratchpadId | No | Scratchpad ID from create or pull_for_editing (required for all ops except list) | |
| afterLine | No | Line number to insert after (0 = prepend). For insert_lines. | |
| startLine | No | Start of line range (1-based). For view, replace_lines, remove_lines. | |
| endLine | No | End of line range (1-based, inclusive). For view, replace_lines, remove_lines. | |
| content | No | Text content (newlines create multiple lines). For insert_lines, append_lines, replace_lines. | |
| message | No | Version message for submit operation |