Create a shared expense ledger page
create_expense_ledgerUse this when a group wants to track shared costs for a trip, a shared house or an event and split them fairly: it publishes a shared web page where everyone adds what they paid, and returns a public link to share and a private organizer link. Optional starting expenses and payments can be included. Amounts use whole minor units of one currency (no conversion). Members are first names, 2 to 30. Does not move money, convert currencies or send reminders. Do not use for a one-off bill split that nobody else needs to see.
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": {
"currency": "<currency>",
"members": "<members>"
},
"name": "create_expense_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note shown on the page, e.g. Add every shared cost here. | |
| title | No | Name of the ledger, e.g. Lisbon trip 2026. | |
| members | Yes | First names of the people sharing costs (2-30), e.g. ["Ana", "Ben", "Chi"]. | |
| currency | Yes | ISO 4217 currency code, e.g. EUR, USD, GBP, JPY, KWD. | |
| expenses | No | Optional expenses to add right away. | |
| payments | No | Optional payments already made between members. | |
| time_zone | No | Optional IANA time zone for dates on the page, e.g. Europe/Lisbon. Default UTC. | |
| number_format | No | How people type amounts on the page, e.g. 1,234.56. Default depends on the currency (EUR uses 1.234,56). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| ended | Yes | ||
| title | Yes | ||
| total | Yes | ||
| closed | Yes | ||
| people | Yes | ||
| recent | Yes | ||
| changes | No | ||
| currency | Yes | ||
| settle_up | Yes | ||
| expires_at | Yes | ||
| manage_url | Yes | ||
| public_url | Yes | ||
| minor_digits | Yes | ||
| people_count | No | ||
| recent_count | No | ||
| expense_count | Yes | ||
| number_format | No | ||
| payment_count | Yes | ||
| settle_up_zeroes_all | Yes |