lemma_create_external_account
Save an external bank account as a payment recipient to enable external transfers. Verify routing and account numbers before confirming; saved recipients cannot be edited or deleted via API.
Instructions
WRITE: save a new external bank account (saved recipient) for an entity -- the required first step before any external transfer. Creates a REAL payment destination. Saved recipients are IMMUTABLE once created: there is no update API, and archiving is done by emailing the Lemma team (contact@getlemma.com), not via API -- so double-check routing/account numbers before confirming.
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": {
"entity_id": "<entity_id>",
"nickname": "<nickname>",
"holder_type": "<holder_type>",
"routing_number": "<routing_number>",
"account_number": "<account_number>",
"holder_name": "<holder_name>",
"holder_address": "<holder_address>",
"reference": "<reference>"
},
"name": "lemma_create_external_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute. Requires prior explicit approval from the human user. | |
| nickname | Yes | Human-readable label | |
| entity_id | Yes | ||
| reference | Yes | Stable caller-supplied identifier for THIS action (e.g. an invoice/payout ID). The Idempotency-Key is derived deterministically from it, so retrying with the same reference is safe (Lemma replays instead of re-executing). Use a NEW reference only for a genuinely new action. | |
| holder_name | Yes | Legal name of the account holder | |
| holder_type | Yes | ||
| account_number | Yes | ||
| holder_address | Yes | ||
| routing_number | Yes | 9-digit ABA routing number |