Apuntar gastos
apuntar_gastosUse this when the user says what someone paid or wants to add costs to an existing apaxas group («dinner was 86 euros, I paid», «Ana paid the taxi»), including a repayment between two people or money the group received. Logs one or several entries on the user's behalf, only to work out who owes whom. Names must be people in the group; if one is not, the reply lists them. All or nothing: if anything is wrong, nothing is logged and the reply says what to fix. Up to 50 at once. The others in the group get a phone notification. Do not use it to pay, send or request money: apaxas never moves money.
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": {
"grupo": "<grupo>",
"gastos": "<gastos>"
},
"name": "apuntar_gastos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grupo | Yes | The group's code, the end of its link. Its name or its link also work. | |
| llave | No | The key that came with this group when it was created without an apaxas account. Not needed when the user's account is connected. | |
| gastos | Yes |