list_accounts
Retrieve cash and bank accounts with optional name, currency, and sort filters. Use each returned account ID as account_id when recording payments or collections.
Instructions
List cash and bank accounts. Use an account's ID as account_id when recording payments/collections.
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_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by account name | |
| page | No | Page number (1-based) | |
| sort | No | Sort field, '-' prefix for desc (e.g. '-balance') | |
| currency | No | Filter by currency | |
| per_page | No | Items per page (max 25) |