splitwise_delete_comment
Delete a comment from a Splitwise expense by its comment ID; removal is permanent, so verify the ID before deleting.
Instructions
Delete a comment from a Splitwise expense (destructive; comments have no undelete).
Write — refused unless SPLITWISE_ALLOW_WRITES=1. Calls POST /delete_comment/{id}.
Splitwise answers with the deleted comment, which this tool renders so you can see
exactly what was removed. There is NO undelete for comments in the Splitwise API — if
needed, re-post the text with splitwise_create_comment (it gets a new id and a new
timestamp).
When to Use:
To remove a comment you posted by mistake (get its id from
splitwise_get_comments).
When NOT to Use:
To delete the expense itself — use
splitwise_delete_expense.When you only know the comment's text — list them with
splitwise_get_commentsfirst.
Returns: A confirmation echoing the deleted comment as Splitwise returned it: id, expense id, author, type, created/deleted times and the text.
Examples:
params = {"comment_id": 79800950}
Error Handling:
Refused with Error: … writes are disabled unless SPLITWISE_ALLOW_WRITES=1. 404 =
the comment id does not exist or is already gone; 403 = you are not allowed to delete
it (you are not part of that expense). Errors come back as an Error ... string, never raised.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |