add_transactions
Append Beancount transactions to your ledger, validated automatically before commit; invalid entries return errors and write nothing, keeping books balanced.
Instructions
Append one or more transactions (raw Beancount syntax) to the book.
The text is validated with bean-check and only committed if valid; on failure nothing is written and the validation errors are returned. Postings must balance. Open any new accounts first (open_accounts).
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": {
"beancount_text": "<beancount_text>"
},
"name": "add_transactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beancount_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |