add_expense
Record an expense paid by one person and split it equally among selected participants to track group balances.
Instructions
Record an expense paid by payer, split equally among participants. amount_cents is a positive integer.
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": {
"group_id": "<group_id>",
"description": "<description>",
"amount_cents": "<amount_cents>",
"payer": "<payer>",
"participants": "<participants>"
},
"name": "add_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | Yes | ||
| group_id | Yes | ||
| description | Yes | ||
| amount_cents | Yes | ||
| participants | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||