Create group transaction
create_group_transactionCreate a shared expense, transfer or income in a group. Example — "user A paid 50 for dinner, split evenly with user B": amount 50, participants [{A, +50}, {A, -25}, {B, -25}], splitConfig { payersSplitMode: "evenly", recipientsSplitMode: "evenly", participantConfigs: [{A, payer, isAutoCalculated: true}, {A, recipient, isAutoCalculated: true}, {B, recipient, isAutoCalculated: true}] }.
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": {
"groupId": "<groupId>",
"type": "<type>",
"description": "<description>",
"amount": "<amount>",
"currency": "<currency>",
"participants": "<participants>",
"splitConfig": "<splitConfig>"
},
"name": "create_group_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | expense = shared cost, transfer = repayment between members, income = shared income | |
| amount | Yes | Total transaction amount, two decimals max | |
| groupId | Yes | ||
| currency | Yes | ISO 4217 code, e.g. USD | |
| categoryId | No | Category id from list_categories | |
| description | Yes | ||
| splitConfig | Yes | ||
| participants | Yes | ||
| transactionDate | No | YYYY-MM-DD, defaults to today |