splitwise_get_comments
List comments on a Splitwise expense to read discussion or edit history and retrieve comment IDs before deleting one.
Instructions
List the comments on one Splitwise expense.
Calls GET /get_comments?expense_id=… and renders one row per comment: its id, the
author as First Last (id N), the type (System = written by Splitwise, e.g. an
edit log; User = written by a person), when it was created, and the text.
When to Use:
To read the discussion or the edit history on an expense.
To find a comment's id before deleting it with
splitwise_delete_comment.
When NOT to Use:
To read the expense itself (cost, shares) — use
splitwise_get_expense.To see recent activity across all expenses and groups — use
splitwise_get_notifications.To find an expense id from a description — use
splitwise_get_expenses.
Returns:
Markdown: a table | Id | Author | Type | Created | Content | (at most 50 rows, the
rest counted; each text capped at 2,000 characters, the cut counted). JSON: {"expense_id", "count", "comments": [raw comment objects]}.
Examples:
params = {"expense_id": 51023}params = {"expense_id": 51023, "response_format": "json"}
Error Handling:
404 means the expense id does not exist or was deleted; 403 means 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 |