Confluence: Delete Page
Write, gated, destructive and irreversible. Run from this skill's directory:
python3 ../confluence/scripts/confluence_tool.py delete_page --page_id 12345678 --confirm
(First-time setup, once per environment: pip install -r ../confluence/requirements.txt.)
--page_id is required. This refuses to execute unless run with
--confirm (enforced in code, not just prompted).
Confirm exactly which page -- its title and space, not just "a
page" -- before deleting. If you only have a title, resolve it to an id
first via the parent confluence skill's get_page_by_title, and
state both the title and the space back to the user as part of the
confirmation. This cannot be undone.
Unless CONFLUENCE_AUTO_CONFIRM_WRITES=true is set:
- State exactly which page you're about to delete and wait for the user's explicit yes.
- Only then re-run the same command with
--confirmappended. - If the result has
"requires_confirmation": true, treat that as the tool declining to act -- relaypending_actionto the user and ask, don't retry with--confirmon your own.
If the result contains "error", tell the user what went wrong in
plain language instead of retrying silently or fabricating a result.
See ../confluence/README.md for architecture details and the full
environment-variable table.