List expense accounts
list_expense_accountsList the workspace's expense accounts (the source-of-money attribution for entries — e.g. a joint account, a personal card). Use this to find the numeric account id before passing expense_account_id to record_expense. Pass ledger_id to also learn which account is that ledger's default (is_default / default_expense_account_id).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_expense_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger_id | No | Optional ledger id; flags that ledger's default account. |