add_comment
Post a comment on a Splitwise expense by providing its ID and the comment text.
Instructions
Post a comment on an expense.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expense_id": "<expense_id>",
"content": "<content>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Comment text to post. | |
| expense_id | Yes | Id of the expense to comment on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Splitwise's numeric id for this comment. | |
| author | No | User who posted the comment, if known. | |
| content | Yes | Text content of the comment. | |
| created_at | No | Timestamp the comment was posted. | |
| relation_id | No | Id of the object (usually an expense) this comment is attached to. | |
| comment_type | No | Splitwise's type tag for the comment, e.g. 'User'. |