open_accounts
Add account open directives to a Beancount book. Provide the account name and currency to generate the correct directive.
Instructions
Add account open (or close/commodity) directives to the book.
Example: 2026-01-01 open Assets:Checking USD
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": "open_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| beancount_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |