Add a line
add_lineA line the statement does not have: cash, or something paid another way. Date YYYY-MM-DD inside the month, the text (who was paid), a signed amount (negative is money out).
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": {
"month": "<month>",
"date": "<date>",
"text": "<text>",
"amount": "<amount>"
},
"name": "add_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| memo | No | ||
| text | Yes | ||
| month | Yes | The month as YYYY-MM, like 2026-09. | |
| amount | Yes | Negative for money out, positive for money in. | |
| labels | No | Label names (or ids) that already exist in the account. Unknown names are refused; see list_labels. | |
| source | No | Where the receipt is found: a source's name or id, from list_sources. | |
| currency | No | Three letters; defaults to the bank account's currency. | |
| bankAccount | No | A bank account's name (like "Swedbank SEK") or id; see list_bank_accounts. |