delete_comment
Permanently delete a Splitwise comment by its ID, with a confirmation step to prevent accidental removal.
Instructions
Permanently delete a comment.
Splitwise has no endpoint to fetch a single comment by id, so unlike
delete_expense this cannot preview the comment's content beforehand
-- the preview and the confirmation gate below are id-only until the
delete call itself returns the comment Splitwise removed. Calling
this again on a comment a prior call already deleted is a no-op: the
delete request itself comes back not-found, and that is treated as
already deleted rather than a hard failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Skip the confirmation step and delete immediately. | |
| comment_id | Yes | Id of the comment to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Text content the comment had before deletion. None when the comment was already deleted before this call, so its content could not be recovered. | |
| comment_id | Yes | Id of the comment the deletion applies to. | |
| already_deleted | Yes | True if the comment was already deleted before this call, so no delete request needed to succeed for it to be gone. |