Ledger accounts
list_ledger_accountsList the organization's ledger accounts (value = account id, label, type income|expense). save_ledger_item needs an income account for INCOME/RECEIVABLE items and an expense account for EXPENSE/PAYABLE items; it resolves the account automatically when the org has exactly one of that type, otherwise pass account_id from this list. Read-only.
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_ledger_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data } | |
| error | No | when ok is false |