← Back to Documentation Hub

Banking Tools Reference

Available banking operations via Model Context Protocol (MCP)

MCP Integration

Protocol: JSON-RPC 2.0 over Streamable HTTP

MCP Endpoint: /mcp

Methods: tools/list, tools/call

Authentication: JWT in Authorization header (from httpOnly cookie via Agent), integration in X-Bancony-Integration

Note: User tokens are stored in httpOnly cookies for security. The Agent reads the cookie and forwards the token to MCP Server via headers.

get-accounts

Get the user's bank accounts and cards. Returns each account with balances, identifiers (account number, plus IBAN/BBAN/BIC or masked PAN where the bank has them), holder, product, type, lifecycle status, and usage. Field shapes follow the Berlin Group PSD2 `accountDetails` model where they overlap. It returns the signed-in customer's own accounts and cards; the kinds of account and card the bank offers, and their terms, are answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

only_withdrawal_accounts (boolean, default: False) optional
If true, return only accounts usable as the source of an outgoing transfer or withdrawal.
account_type (string) optional
Filter by account type. `Current` and `Savings` are the common spending and deposit accounts; `Credit` covers revolving credit / credit cards; `Loan` covers mortgages and amortizing loans. Debit and prepaid cards live under `Current`; their `maskedPan` field flags the attached card.
status (string) optional
Filter by lifecycle status. Defaults to all statuses; pass `Enabled` to hide closed or blocked accounts.
usage (string) optional
Filter by usage: personal (`Private`) or business (`Business`). Servers MAY ignore this if they do not track usage.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-accounts", "arguments": { "only_withdrawal_accounts": false, "account_type": "example_account_type" } }, "id": 1 }

get-transactions

Get bank transactions. Returns a list of transactions with amounts, dates, descriptions, and categories. The `verbosity` parameter selects between a compact default (`minimal`) and full transactions view (`full`) that surfaces every optional ISO 20022 / Open Finance field the server can populate. This tool returns data only — call it freely while reasoning and answer amount questions from it in ONE plain sentence. To DISPLAY results visually — only when the customer asked to SEE something — use the display tools in your toolset: `show-spending` for a chart of spending or income by category, merchant or month (pass it the same scope you used here), `show-transactions` for a transaction list, `compare-spending` for a period comparison, `present-insight` for any other chart. No display tool for it in your toolset → answer in text. For a company this is also the cross-account statement spanning ALL the company's accounts AND company cards by default (credits and debits, card purchases with merchant and category); narrow with account_ids. A row names its counterparty, so description finds a payer or payee by name. When a payer's name finds nothing, search by amount (min_amount/max_amount) and date range instead and read the row's reference text. get-accounts lists the accounts themselves (balances, IBANs), not their movements; balance-over-time questions are get-balance-history, not this.

Parameters

count (string) optional
Maximum number of transactions to return.
order (string, default: NewestFirst) optional
Sort order.
Allowed values: NewestFirst OldestFirst
verbosity (string) optional
`minimal` returns every Transaction field except `counterparty` and the `properties` audit bag, on the assumption that the merchant / counterparty name is read off `description` and ISO 20022 / Open Finance audit metadata isn't needed for everyday questions. `full` returns every field the server can populate. Servers MAY still omit any optional field at `full` if they don't have it. When omitted, defaults to `full` if `search_text` is set (so client-side filtering has the extra context) and `minimal` otherwise.
start_date (string) optional
Inclusive lower bound, ISO 8601 (YYYY-MM-DD).
end_date (string) optional
Inclusive upper bound, ISO 8601 (YYYY-MM-DD).
search_text (string) optional
Single-token, greedy substring match across a transaction's text fields (description, counterparty, remittance, references). Prefer the most distinctive token and narrow the rest client-side (e.g. via the LLM): for "Starbucks Oxford Street" pass `Starbucks` and filter the location locally.
category_ids (string) optional
Restrict to these category ids (the `id` field from get-categories).
account_ids (string) optional
Restrict to transactions on these account.id values (from get-accounts).
min_amount (string) optional
Inclusive lower bound on the transaction amount. Amounts are signed: expenses are negative, income is positive. Examples: `min_amount=0` keeps only income; `min_amount=-100` drops expenses larger than 100.
max_amount (string) optional
Inclusive upper bound on the transaction amount. Amounts are signed: expenses are negative, income is positive. Examples: `max_amount=0` keeps only expenses; `max_amount=-50` keeps only expenses of 50 or more (in absolute value).
cursor (string) optional
Opaque pagination cursor returned as `nextCursor` from a previous call. Omit to fetch the first page.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-transactions", "arguments": { "count": "example_count", "order": "NewestFirst" } }, "id": 1 }

get-transaction

Look up a single transaction by id and return every field the server can populate, including `counterparty` (with `postalAddress` for card entries) and the open `properties` bag of ISO 20022 / SEPA / card audit metadata (remittance text, end-to-end / mandate / creditor ids, purpose / transaction codes, MCC, masked PAN, etc.). Use this for audit / reconciliation flows; for compact lists prefer `get-transactions` with a `verbosity` cap.

Parameters

transaction_id (string) required
Transaction id (the `id` field from get-transactions).
account_id (string) optional
Source account.id (from get-accounts). Optional; servers MAY require it for routing or for additional authorization checks.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-transaction", "arguments": { "transaction_id": "example_transaction_id", "account_id": "example_account_id" } }, "id": 1 }

get-categories

Get transaction categories. Returns a list of categories that transactions can be classified into.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-categories", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-transactions-summary

Get an aggregated summary of transactions, scoped to either income or expenses. Returns totals, counts, and averages, optionally grouped by category, month, or both. Filters mirror get-transactions: account, date, amount range, category ids. A total not scoped by category_ids or search_text leaves out transfers between the customer's own accounts (to their savings, to their own credit card), as the bank's spending page does; name those categories in category_ids to count them. show-spending (where you have it) charts the same total. This tool returns data only — call it freely while reasoning and answer amount questions from it in ONE plain sentence. To DISPLAY results visually — only when the customer asked to SEE something — use the display tools in your toolset: `show-spending` for a chart of spending or income by category, merchant or month (pass it the same scope you used here), `show-transactions` for a transaction list, `compare-spending` for a period comparison, `present-insight` for any other chart. No display tool for it in your toolset → answer in text. For a company prefer group_by='none' for a total and group_by='month' for a trend — those are accurate. A category breakdown is NOT representative for a company: supplier payments are sent as payment batches and arrive uncategorized, so most outgoing money lands in an uncategorized or null-category group. If you do group by category, name that bucket explicitly as uncategorized rather than describing the split as a complete picture of where the company's money went, and never read a category total as a supplier total. For spend on a named supplier, list the transactions with get-transactions and total those instead.

Parameters

direction (string) required
Restrict to income (positive amounts) or expenses (negative amounts). A summary covers exactly one direction; call the tool twice to compare.
Allowed values: Income Expenses
group_by (string, default: category) optional
Aggregation key. `none` returns a single row spanning all matched transactions; `category` groups by category id; `month` groups by calendar month (YYYY-MM); `both` groups by (category id, month) pairs. Each summary row reports `categoryId` and/or `month` accordingly.
Allowed values: none category month both
start_date (string) optional
Inclusive lower bound, ISO 8601 (YYYY-MM-DD).
end_date (string) optional
Inclusive upper bound, ISO 8601 (YYYY-MM-DD).
category_ids (string) optional
Restrict to these category ids (the `id` field from get-categories).
account_ids (string) optional
Restrict to transactions on these account.id values (from get-accounts).
min_amount (string) optional
Inclusive lower bound on the transaction amount. Amounts are signed: expenses are negative, income is positive. Combined with `direction`, both filters are applied.
max_amount (string) optional
Inclusive upper bound on the transaction amount. Amounts are signed: expenses are negative, income is positive. Combined with `direction`, both filters are applied.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-transactions-summary", "arguments": { "direction": "Income", "group_by": "category" } }, "id": 1 }

get-recipients

Get saved payment recipients filtered by name. Returns matching recipients with their account details. Pass an empty name ("") to list ALL saved recipients — use that when the customer asks what recipients they have. The listing is the bank's own transfer picker: saved and recent recipients AND the customer's own accounts (those carry the customer's own national id — say so when you list them). Never claim a recipient does or does not exist without calling this tool first.

Parameters

name (string) required
Free-text search; matches partial names of saved recipients.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-recipients", "arguments": { "name": "example_name", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

execute-transfer

Execute a transfer the user has confirmed. Takes only the `transfer_intent_id` returned by `prepare-transfer`. The intent's amount, creditor, debtor, and rail are immutable: any change requires a new prepare call. Servers reject expired intents with a structured error.

Parameters

transfer_intent_id (string) required
Intent token from a recent `prepare-transfer` call.
idempotency_key (string) optional
Optional idempotency key. Servers SHOULD return the original response for repeat calls with the same key.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "execute-transfer", "arguments": { "transfer_intent_id": "example_transfer_intent_id", "idempotency_key": "example_idempotency_key" } }, "id": 1 }

show-spending

SHOW the customer a chart of their spending (or income), computed by the bank's server from their transactions: a pie of categories or merchants, or bars per month. This is a DISPLAY tool — calling it always draws the card — so call it ONLY when the customer asks to see, show, chart or visualise ("show me that as a pie chart"). It takes the scope arguments of get-transactions-summary (start_date, end_date, category_ids, account_ids, direction, min_amount, max_amount) and get-transactions' search_text for a merchant. To show what you just answered, call it with the SAME arguments you passed to get-transactions-summary (or the search_text you passed to get-transactions), so the chart covers exactly what the answer did — food stays the food category_ids, a merchant stays its search_text; never drop the scope for a follow-up chart. Pick group_by for the shape: 'category' (a pie of categories), 'merchant' (a pie of who the money went to) or 'month' (bars over time). For a QUESTION about an amount do NOT call this: answer in one sentence from get-transactions-summary. The card's total is the number get-transactions-summary returns for the same arguments.

Parameters

category_ids (array) required
REQUIRED. Exactly the category_ids of the answer you are showing (food stays the food ids), or [] when that answer used none — all spending, or a merchant matched by search_text. Never add categories the answer did not use.
group_by (string, default: category) optional
The chart: 'category' or 'merchant' for a pie, 'month' for bars over time.
Allowed values: category merchant month
start_date (string) optional
Inclusive lower bound, ISO 8601 (YYYY-MM-DD).
end_date (string) optional
Inclusive upper bound, ISO 8601 (YYYY-MM-DD).
search_text (string) optional
Only transactions whose merchant or text matches, as in get-transactions (e.g. 'Starbucks').
account_ids (string) optional
Only these accounts (ids from get-accounts).
direction (string, default: Expenses) optional
'Expenses' (money out) or 'Income' (money in).
Allowed values: Expenses Income
min_amount (string) optional
Only transactions of at least this signed amount.
max_amount (string) optional
Only transactions of at most this signed amount.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "show-spending", "arguments": { "category_ids": "example_category_ids", "group_by": "category" } }, "id": 1 }

get-brand-kit

Get the bank's brand kit — colours, chart palette, font and logo — to STYLE any chart, graph, dashboard, table or visual you create. Call this before building a visualization so it matches the bank's brand: use chartColors (in order) for series, primary/accent for highlights and headers, fontFamily for text, and put logoSvg in the header. Read-only; takes no input.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-brand-kit", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

present-insight

Present the answer to an open-ended, analytical question about the customer's money as a branded, interactive card. A chart of the customer's spending or income by category, merchant or month is NOT this tool's: show-spending draws it, computed by the bank's server. Use this AFTER you have gathered the data with the read tools (get-transactions, get-transactions-summary, etc.): pick the archetype that best fits the answer and pass the data you computed. The bank's brand and the display language are applied automatically — do not pass them. Choose the archetype: • breakdown — parts of a whole ('where does my money go?'). • trend — a value over time ('is my spending going up?'). • comparison — two or more sides ('this year vs last', 'budget vs actual'). • ranked — a leaderboard ('top merchants', 'biggest payments'). • insight — a narrative finding + an optional supporting mini-viz. `data` is an OBJECT, never a bare list, and every row is {label, value}: breakdown → data={title, total, currency, segments:[{label, value}]}; trend → data={title, currency, points:[{label, value}]}; ranked → data={title, currency, rows:[{label, value}]}; comparison → data={title, currency, periods:[{label, total}]}; insight → data={headline, body}. Values are positive amounts the read tools returned — never estimates. Write `content` as a plain-English summary; put every on-screen title and label in the language of the customer's MOST RECENT message — an English question gets English titles and labels. Merchant or category names in the data are not a reason to write the card in their language; translate them into the customer's language. The display tools (show-spending, compare-spending, show-transactions) and the bills and loans tools render their own branded cards for routine answers; reserve this for the ad-hoc, open-ended analysis they don't cover.

Parameters

card (string) required
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "present-insight", "arguments": { "card": "example_card", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

compare-spending

Compare the customer's spending in a window against the SAME window one year earlier, rendered as ONE interactive branded card (tap a month to drill into days and the underlying transactions; the card's own controls switch period, so one call also covers follow-ups). `window` is a single free-form string — ALWAYS carry the user's stated period into it verbatim: "May" → window='may'; "Q2" → window='q2'; "2024" → window='2024'; nothing stated → omit (year-to-date). The comparison is ALWAYS against the year before, so when the customer names two consecutive periods `window` is the LATER one: "2025 vs 2026" → window='2026' (window='2025' would show 2025 against 2024 — the wrong pair). Two periods that are not a year apart ("March vs June", "2023 vs 2026") are not this tool: answer those in text from two get-transactions-summary calls. Optionally focus on one merchant via `merchant` — "how much did I spend at Starbucks in May vs last year" → window='may', merchant='Starbucks'. Expenses only; brand and language are applied automatically.

Parameters

window (string) optional
The period to compare, as the user named it: a month ('may', '2026-05'), a quarter ('q2'), a year ('2024'), or omitted for year-to-date. Always pass the user's month/period when they name one.
merchant (string) optional
Optional merchant/payee name to focus the comparison on (matched against the transaction description). Omit to compare all spending.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "compare-spending", "arguments": { "window": "example_window", "merchant": "example_merchant" } }, "id": 1 }

show-transactions

SHOW the customer their transactions as the bank's branded statement card (expandable table with PDF / Excel / CSV export). Call this when the user asks to SEE / show / display transactions ("show me those transactions") — one call renders one card; never paste a transaction list as text instead. Filter with `description` (payee text); with `categories` — a LIST of one or MORE spending categories to INCLUDE (names like 'groceries' or derived ids like 'mcc_5411' / 'tk_03'), matched by name or id; with `exclude_categories` — a LIST to leave OUT (e.g. show everything except transfers, or drill into an 'Other' slice by excluding the big named categories); and either `window` (a period string: 'may', 'q2', '2025', '3m', omit for year-to-date) or explicit `start_date`/`end_date`. Pass several categories at once in `categories` — it is a list, not a single value. For reading data silently while analysing, use get-transactions instead.

Parameters

description (string) optional
Text to match against the payee/narrative, e.g. 'Starbucks'.
categories (string) optional
Spending categories to INCLUDE, as a list — one or many (e.g. ['groceries'], or ['mcc_5411', 'tk_03']). Matched by category name or id; rows in any listed category are shown.
exclude_categories (string) optional
Spending categories to EXCLUDE, as a list — rows in these are hidden (e.g. ['transfers'] to drop own-account transfers). Combine with `categories`, or use alone to isolate 'Other'.
category (string) optional
Deprecated single-category alias for `categories`; prefer `categories`. A lone category name still works here.
window (string) optional
Period as the user named it: 'may', 'q2', '2025', '3m'. Omitted (with no explicit dates) = year-to-date.
start_date (string) optional
Explicit range start (YYYY-MM-DD); overrides window.
end_date (string) optional
Explicit range end (YYYY-MM-DD); overrides window.
count (string) optional
Max rows to show (default 100).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "show-transactions", "arguments": { "description": "example_description", "categories": "example_categories" } }, "id": 1 }

export-statement

CARD-SUPPORT tool: produce the bank's own account-statement file (PDF or Excel) for a date range, returned as base64 for file download. The show-transactions card's export buttons call this; you should almost never call it yourself — when the user wants to see or export transactions, call show-transactions (its card carries the export buttons). Never read or echo the returned base64 content; it is delivered to the customer as a file. Range works like show-transactions: explicit start_date/end_date win over window; neither means year-to-date.

Parameters

file_type (string) required
File format: "pdf" or "xlsx".
window (string) optional
Period string as in show-transactions ('may', 'q2', '3m', '2025').
start_date (string) optional
Explicit range start (YYYY-MM-DD); overrides window.
end_date (string) optional
Explicit range end (YYYY-MM-DD); overrides window.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "export-statement", "arguments": { "file_type": "example_file_type", "window": "example_window" } }, "id": 1 }

get-loans

Get the holder's loans with full detail: outstanding balance, interest rate, whether the loan is indexed or not, the monthly payment, and how much of the latest payment went to principal versus interest. Use this when the user asks about a mortgage, car loan, personal loan, or — for a company — its operating loan: total debt, what rate they pay, how much is left, the term, or how much of a payment is interest. Works for individuals AND companies; for a company this is the online bank's loans view, and get-accounts lists the same loan as an account with only its balance, so come here for the rate, the indexing and the interest split. The result renders as visual loan cards in the customer's UI, so also call this when the user asks to see or show their loans. It returns the signed-in customer's own loans; the bank's loan products, their rates and terms are answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-loans", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-loyalty-status

The customer's standing in the bank's loyalty scheme: the tier they are on, their progress and what the next tier needs, every source that earns progress and whether they have it, and their benefits now, on offer and at the next tier. Call it whenever the customer asks about their loyalty points or tier, their benefits, or how to reach the next level. Where the host shows cards the result renders as the bank's loyalty card; keep your text short. Answer from `data`: `progress.kind` says whether the ladder counts points or services, so use the bank's unit. When asked how to climb, list the sources with `earned` false and their `weight`. A benefit with `requires_action` is switched on by the customer in the bank's own app, never by you. Figures are the bank's as of the call; present them as what the scheme shows, not as a promise. It returns the signed-in customer's own standing; how the scheme works, what each tier gives and how to earn are answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-loyalty-status", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-insurance-policies

The insurance policies the customer holds through the bank, all of them in one call: for each policy the product, what or who it insures (a person, a home, a vehicle), whether it is in force, its premium and the period the premium covers, the renewal date, the amounts it insures for and the insurer's published terms. Call it whenever the customer asks about their insurance: what they are insured for, what a policy costs, when it renews, whether their home, car or life is covered, or what they pay for insurance in total. It takes no arguments and returns every policy, so filter and add up in your answer. Answer from `data`: a policy with `status` `pending` is issued but starts on its `period_start`, so say it is not in force yet. `premium` is the price for the period from `period_start` to `period_end`, not a monthly amount; `total_premium` adds the active and pending policies. `covers` holds the sum insured and, where the bank has it, the deductible. It reads policies only: it does not show claims, and buying, changing or cancelling a policy is done by the customer with the bank or the insurer, never by you. What a policy covers in detail is in its terms (`documents`); give the link and do not guess at the cover. Figures are the bank's as of the call. It returns the signed-in customer's own policies; the insurance the bank offers, what a product covers and what it costs are answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-insurance-policies", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-pension-savings

The customer's pension savings and pension rights at the bank, the whole picture in one call: the balance of each part, which contracts are active, the fund and investment plan, every contribution paid in during a period and who paid it, how the savings grew over that period (own and employer contributions, investment return, withdrawals) and the bank's own estimate of what the pension will pay out. Call it whenever the customer asks about their pension: how much they have saved, whether their employer is paying in, what was paid last month, the return, or what they can expect at retirement. With no arguments it covers the last twelve months and runs the estimate on the bank's defaults for this customer; that is the right first call. Set `from_date` and `to_date` for another period, for example the whole history. Set the what-if arguments only when the customer asks "what if": they change `projection` and nothing else. Answer from `data`. A customer may have only some parts: a missing kind or an inactive contract means they have none of it at this bank, which is common (the mandatory pension is often with another fund), so say so plainly and do not treat it as an error. `projection` is the bank's calculator run on the stated assumptions: present it as an estimate with those assumptions, never as a promise, and say that the final figures depend on returns and contributions. It reads only: changing a contract, the contribution rate, the investment plan or a withdrawal is done by the customer with the bank, never by you. Figures are valid for `as_of`; when `source` is `statement` they come from the customer's latest statement, so quote that date and say it is not today's value. It returns the signed-in customer's own pension savings; the bank's pension products, funds, investment plans and their rules are answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

from_date (string) optional
First day of the period the contributions and returns cover, ISO 8601 (YYYY-MM-DD). Default: twelve months before `to_date`.
to_date (string) optional
Last day of that period, ISO 8601 (YYYY-MM-DD). Default: today.
monthly_salary (string) optional
What-if: gross monthly salary the estimate assumes, in the pension's currency. Default: the salary the bank has for the customer.
retirement_age (string) optional
What-if: the age the customer retires at. Default: the bank's.
annual_return_percent (string) optional
What-if: yearly return the estimate assumes, in percent (3.5 means 3.5%). Default: the bank's calculator default.
payout_age (string) optional
What-if: the age the supplementary savings start being paid out. Default: the customer's contract.
payout_years (string) optional
What-if: over how many years the supplementary savings are paid out. Default: the customer's contract.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-pension-savings", "arguments": { "from_date": "example_from_date", "to_date": "example_to_date" } }, "id": 1 }

calculate-mortgage

Calculate a home loan (mortgage) on the bank's own published terms: the monthly payment, the rate options for the loan-to-value, the total paid, interest, indexation and fees, for a non-indexed, an indexed or a mixed loan. Use it whenever the customer asks what buying or refinancing a home would cost, how much they can borrow, what a different down payment, term or loan type would change, or wants the bank's mortgage calculator. Never compute a mortgage yourself or quote a rate from memory. The result renders as an interactive calculator card where the customer adjusts the figures; the card keeps you informed of the scenario they are looking at, so read that before answering a follow-up. Pass `down_payment` or `loan_amount` (neither = the most the bank lends) and leave out what the customer did not say. Some banks also ask for the official valuation of the property next to the price and measure the loan against the lower of the two; pass it as `assessed_value` when the customer gives it (the card asks for it where the bank does). The figures are the bank's terms, the estimate is yours to present as an estimate, not an offer.

Parameters

property_value (number) required
Purchase price or market value of the home.
assessed_value (string) optional
Official valuation of the property, where the bank's calculator asks for it next to the price; omit when the customer gave none.
down_payment (string) optional
The customer's own money towards the purchase.
loan_amount (string) optional
Amount to borrow; overrides down_payment.
first_time_buyer (boolean, default: False) optional
Buying a first home.
loan_type (string) optional
non_indexed, indexed, or mixed; omit for the bank's default.
indexed_share_percent (string) optional
Indexed share of a mixed loan, percent.
term_years (string) optional
Loan term in years.
indexed_term_years (string) optional
Term of the indexed part of a mixed loan, if not term_years.
top_up_term_years (string) optional
Term of the bank's top-up loan, where it has one.
payment_type (string, default: annuity) optional
annuity (equal payments) or equal_principal (equal instalments).
Allowed values: annuity equal_principal
rate_option_id (string) optional
A rate option id from a previous result's terms.
rate_option_ids (string) optional
Rate option id per product id, from a previous result's terms, where the loans are chosen apart (the bank's top-up loan next to the base loan).
inflation_percent (string) optional
Inflation assumption for indexed loans; omit for the bank's.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "calculate-mortgage", "arguments": { "property_value": 10, "assessed_value": "example_assessed_value" } }, "id": 1 }

get-unpaid-bills

List the unpaid bills the holder has to PAY (e.g. utilities, telecom, insurance, supplier invoices) — with status, due dates, amounts and a summary. Works for both individuals and companies (a company's accounts payable). Use when the user asks what they owe, about pending or overdue bills, or to see/show their unpaid bills. These are bills the holder OWES; for a company's receivables — claims it has issued, money owed TO it — use list-claims instead. Each bill is settled individually against its own payment reference — incoming bills are never bundled into a payment batch (create-payment-batch is for OUTGOING mass payments to payees, the opposite direction). Bills marked auto_pay=true are informational only — do not offer to pay them; they settle automatically on the due date by direct debit. If a bill is overdue, mention the late-payment interest (late_fee) so the user knows the cost of waiting. To pay ONE bill on its final due date in bank-authorised mode, call create-payment-order with kind='bill_payment', the bill's id, its amount and requested_execution_date = its final_due_date. To pay SEVERAL, make ONE create-payment-order call with bill_ids = every id and amount = their total, and leave requested_execution_date out so each bill keeps its own final due date — different final due dates are not a reason to split into several calls. The result renders as a visual bills card in the customer's UI. It returns the signed-in customer's own unpaid bills; how bills, payment and late fees work at the bank in general is answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

status_filter (string, default: unpaid,overdue) optional
Comma-separated statuses: unpaid, overdue, scheduled, paid, cancelled.
due_within_days (string) optional
Only return bills due within N days from today.
limit (integer, default: 25) optional
Maximum number of bills to return (capped at 50).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-unpaid-bills", "arguments": { "status_filter": "unpaid,overdue", "due_within_days": "example_due_within_days" } }, "id": 1 }

get-scheduled-payments

List the one-off payments the bank already holds for a FUTURE day: a dated transfer or a bill the customer asked the bank to pay on its due date: each with its payment date, amount, payee, status and a summary. Use it when the customer asks what is coming up or on the way ('what do I have coming up?', 'which payments are waiting to go out?', 'did the transfer I set up for the 20th get registered?'), or whether a dated transfer they set up was registered. A bill scheduled for its final due date also shows in get-unpaid-bills with status `scheduled` — that card is what the customer OWES, this one is what LEAVES the account and when. Standing orders (recurring transfers) are get-standing-orders, and orders still waiting for the customer's approval are list-payment-orders. You never cancel a payment yourself: the customer does, with the card's own button, or on the bank's page at bank_ui_link. The result renders as a visual card in the customer's UI; `content` is its summary.

Parameters

kind (string) optional
Optional filter: transfer or bill_payment.
due_within_days (string) optional
Only payments due within N days from today.
limit (integer, default: 25) optional
Maximum number of payments to return (capped at 50).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-scheduled-payments", "arguments": { "kind": "example_kind", "due_within_days": "example_due_within_days" } }, "id": 1 }

get-standing-orders

List the customer's standing orders (recurring transfers the bank repeats on a rhythm): recurring transfers the bank repeats on a rhythm, each with its amount, payee, rhythm, next payment day and last day, plus a summary with a monthly equivalent. Use it when the customer asks about their recurring or automatic transfers ('which standing orders do I have?', 'what leaves my account automatically every month?'). One-off payments the bank holds for a date are get-scheduled-payments; bills paid by direct debit are get-unpaid-bills (auto_pay). You never cancel a standing order yourself: the customer does, with the card's own button, or on the bank's page at bank_ui_link. The result renders as a visual card in the customer's UI; `content` is its summary.

Parameters

limit (integer, default: 25) optional
Maximum number of standing orders to return (capped at 50).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-standing-orders", "arguments": { "limit": 25, "user_asked_for": "example_user_asked_for" } }, "id": 1 }

cancel-scheduled-payment

Card-only. Cancels one scheduled payment at the bank, for the upcoming-payments card's own button. Not callable by the assistant: it requires the card-held token the server stamps on the list result's _meta['bancony/ui'].cancel_tokens, which the model never receives; a call without it is refused (`card_only`). Cancelling is the customer's own act in the card.

Parameters

id (string) required
Id of the scheduled payment, from the list.
card_token (string, default: ) optional
The card-held token for this row, read by the card from the list result's _meta['bancony/ui'].cancel_tokens.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "cancel-scheduled-payment", "arguments": { "id": "example_id", "card_token": "" } }, "id": 1 }

cancel-standing-order

Card-only. Cancels one standing order at the bank, for the upcoming-payments card's own button. Not callable by the assistant: it requires the card-held token the server stamps on the list result's _meta['bancony/ui'].cancel_tokens, which the model never receives; a call without it is refused (`card_only`). Cancelling is the customer's own act in the card.

Parameters

id (string) required
Id of the standing order, from the list.
card_token (string, default: ) optional
The card-held token for this row, read by the card from the list result's _meta['bancony/ui'].cancel_tokens.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "cancel-standing-order", "arguments": { "id": "example_id", "card_token": "" } }, "id": 1 }

get-documents

List the holder's electronic-documents inbox — payslips, payment slips for bills, monthly account statements — newest first, defaulting to the LAST 6 MONTHS when no dates are given (the card lets the customer adjust the range themselves). Each document is exactly what a bank's inbox holds: a title, the date it arrived, and a per-document pdf_url. This is an INBOX LISTING, nothing more: use it only when the user asks about the documents themselves — show my payslip, what documents have arrived, when did the statement arrive, open my payment slip. When the user asks for a SPECIFIC kind of document or sender (payslips from an employer, payment slips from a lender), do NOT list the whole inbox: call get-document-senders first and pass the matching sender here as the sender filter. It is the WRONG tool for amount or 'how much' questions: what was I paid is answered from the salary credit in get-transactions; bill amounts come from get-unpaid-bills. The result carries NO document content — titles, senders, dates and links only — so never present figures as coming from a document you have not read. To let the user open a document, give them its pdf_url: a SHORT-LIVED signed link (expires within minutes) — offer it to open right away, never store it, quote it as a stable reference, or fetch it yourself; re-call this tool to mint fresh links. You CANNOT read a document's contents and have no tool that does — only the customer can open one, with the card's Open button or the pdf_url; never claim or imply you have read a document. A payment slip references its bill via bill_id, so pair with get-unpaid-bills to connect a payment slip to the bill it settles; paying still happens through the bill/payment tools, never here (this tool is read-only). The result renders as a documents card listing the documents in the customer's UI — do NOT repeat the list in your reply. Answer with ONE short sentence (e.g. how many arrived and the most recent); if the user asked about one specific document, mention just that one. It returns the signed-in customer's own documents; what a kind of document is and how the inbox works are answered from the knowledge base (`search-knowledge-base`), signed in or not.

Parameters

date_from (string) optional
Only documents dated on/after this ISO date (YYYY-MM-DD).
date_to (string) optional
Only documents dated on/before this ISO date (YYYY-MM-DD).
bill_id (string) optional
Only the payment slip attached to this bill id.
sender (string) optional
Only documents from this issuer — a national ID or (part of) the sender name, as returned by get-document-senders. Use whenever the user asks about a specific document kind or sender instead of the whole inbox.
limit (integer, default: 25) optional
Maximum number of documents to return (capped at 50).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-documents", "arguments": { "date_from": "example_date_from", "date_to": "example_date_to" } }, "id": 1 }

get-document-senders

List WHO sends the holder electronic documents — the distinct issuers in the document inbox (employers' payslips, a lender's payment slips, the bank's statements …), each with its name and national ID. Data only, no card. Use this BEFORE get-documents whenever the user asks about a specific kind of document or sender, then pass the matching sender to get-documents' sender filter so the customer sees only the relevant documents instead of the whole inbox.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-document-senders", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

fetch-document

Card-only. Returns the content of one electronic document — a PDF, or the HTML page some banks render a document as — as an embedded resource, for the documents card's Open button. Not callable by the assistant: it requires the card-held token the server stamps on get-documents results (_meta['bancony/ui'].document_tokens), which the model never receives; a call without it is refused (`card_only`). Reading a customer's document is the customer's own act in the card. Documents over ~5 MB are refused (`too_large`).

Parameters

document_id (string) required
Id of the document to fetch, from get-documents.
card_token (string, default: ) optional
The card-held token for this document, read by the documents card from the get-documents result's _meta['bancony/ui'].document_tokens.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "fetch-document", "arguments": { "document_id": "example_document_id", "card_token": "" } }, "id": 1 }

set-language

Set the language the cards and result texts are shown in for this conversation. The cards start in the customer's saved language or the language of their sign-in, which may not be the language the customer writes in. Call this the first time the customer writes in a different language than the cards show, or asks to see them in another language, BEFORE the next tool that shows a card, with that language's code (`en`, `is`, `sv`, `pl`). Call it again only when the customer changes language. A language the customer picked on a card stays: the result names the language now shown. Cards already on screen keep their language. It changes nothing at the bank.

Parameters

language (string) required
The language the customer writes in, as a language code.
Allowed values: en is sv pl
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "set-language", "arguments": { "language": "en", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

save-language-preference

The language picker on a card: save the language the customer picked as their language for cards and result texts, on every app they use. Called by the card, never by the model.

Parameters

language (string) required
The language the customer picked, as a language code.
Allowed values: en is sv pl
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "save-language-preference", "arguments": { "language": "en", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

note-card-action

Card-only. A branded card reports a customer action that is not itself a tool call — a file handed to the host, a link opened, the card being shown — so it is traced like every other call, with the kind of device the card is on. Not for the assistant: it is listed to the card only and records nothing the assistant can use. Arguments are closed vocabularies and ids, never free text.

Parameters

card (string) required
The card reporting (its title, e.g. 'documents', 'transactions').
action (string) required
What the customer did: download, open-link, view.
Allowed values: download open-link view
subject (string, default: ) optional
What it concerned: a document id, the host of the link opened, or the tool whose result the card shows.
outcome (string, default: ) optional
How it went: the delivery route (host / chatgpt / anchor / none) or ok / failed.
platform (string) optional
The kind of device the card is on, from the host context: mobile / web / desktop. Omitted when the card cannot tell.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "note-card-action", "arguments": { "card": "example_card", "action": "download" } }, "id": 1 }

usage-status

Show the customer's usage allowance with the bank: how much of the included usage is used this period, which plan they are on, and the bank's own notice and link to subscribe when the included usage is up. Call it when a tool call was refused because the usage limit was reached, or when the customer asks about their usage, limit or subscription. Renders a branded card; counts nothing. Never quote a price: the card carries the bank's own words.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "usage-status", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

accept-usage-notice

Card-only. The usage card records the customer's acceptance of the bank's notice for the current period, with the token the card holds. Not for the assistant: it is listed to the card only and refuses a call without the token.

Parameters

token (string) required
The card-held accept token from the usage card.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "accept-usage-notice", "arguments": { "token": "example_token", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-demographics

Return coarse demographics for the authenticated user — age range, gender, postal-code prefix, language. Used by the agent at WebSocket-open time to enrich PII-sanitizer trace metadata. Plugins that don't implement this return `supported=false`.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-demographics", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-customer-profile

Return the authenticated customer's display identity (name and email) so the agent can populate the live-agent CRM at handover time. Plugins that don't expose customer info return `supported=false`. Used by the handover_finalize node, not by the LLM directly.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-customer-profile", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-customer-segment

Return the authenticated holder's segment — `retail` (individual) or `corporate` (company). Used by the agent at WebSocket-open time to tailor the assistant's suggested-prompt start screen to the customer. Plugins that don't distinguish the two return `supported=false`.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-customer-segment", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-session-market

Return the authenticated customer's market as a code of the market catalog (`is`, `se`): the bank's answer for the customer, else the deployment's. Used by the agent at WebSocket-open so its PII redaction reads national IDs and account numbers the way the customer's market writes them.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-session-market", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-usage-plan

Return which usage plan the authenticated holder is on and whom their usage counts against, from the bank's plugin. Agent-internal: fetched at WebSocket-open and again at the cap, never by the LLM. A plugin without plans answers `supported=false` with the login as holder.

Parameters

refresh (boolean, default: False) optional
Ask the bank again instead of answering from the cache (at the cap).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-usage-plan", "arguments": { "refresh": false, "user_asked_for": "example_user_asked_for" } }, "id": 1 }

record-billable-usage

Hand the bank one unit of usage beyond the holder's included allowance, for the bank to charge, before the turn it belongs to runs. Agent-internal, never called by the LLM; the holder comes from the session, never from an argument. The bank's refusal answers `rejected=true`.

Parameters

count_in_period (integer) required
The holder's running count of billable units in the period.
period (string) required
The period's label: `2026-10`, `2026-10-28`.
unit (string, default: turns) optional
One of tool_calls, turns
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "record-billable-usage", "arguments": { "count_in_period": 10, "period": "example_period" } }, "id": 1 }

search-knowledge-base

Search the bank's own knowledge base (products, fees, terms, policies, processes, branches/opening hours, FAQs) and answer ONLY from what it returns. Call this BEFORE answering any bank-specific factual or 'how do I…' question — never answer those from general knowledge. - The knowledge base is the bank's own published material: answer from the passages, in the voice your system instructions give you, and link the exact source page. Never brush the customer off with 'check the bank's website' — you have the bank's material, so quote it and link it. - Catalog/overview questions need more than one search: run 2-3 searches with different phrasings (the category, then the specific product names seen in the first results) and synthesize a complete, structured answer — name each product found with one line on who it suits. - A specific product's price, fee or terms lives on THAT product's page, so search for the product BY NAME, one search per product when the customer asks about several — a category search returns the catalog, not each product's figures, and answering a price question without the price is a failed answer. - Ground every factual claim in the returned passages and cite sources as markdown links — inline or as a final 'Sources:' line with each result's [title](url). Every knowledge-base answer must carry at least one source link. - Rates, fees and other volatile figures: quote them only when a returned passage states the figure, and attach its as-of date (from the passage's effective_date). If the passages describe the product but NOT the figure asked for, do not present tables with the numbers missing — say plainly that the exact figure isn't in your material, link the product/price-list page where it lives, and offer to connect a human. For the customer's own balances/transactions use the account tools, never the knowledge base. - Many products exist in a personal and a business version. Default to the personal version for a retail customer — never present the business version as the answer while claiming the personal one is unknown; search again for the personal version if needed. - If the search returns nothing relevant (no results, or a recoverable code), do NOT answer from general knowledge. Say plainly — in the customer's language — that you do not find it in the bank's documents. ONLY IF a human-handover tool is available to you, offer to connect a human and call it with a reason that includes the customer's original question; if you have NO such tool, do NOT offer to connect anyone — instead point the customer to the bank's own service channels. Never guess an answer. - Do not pass the limit parameter — the server default returns the right amount of context. Your search queries may be phrased in any language, and retrieved passages may be in another language than the customer — always write the final answer in the language of the customer's message. - Search in the customer's own words and the bank's own product names (a scheme the customer calls by its name is searched by that name); never replace a name with a generic term, and when a search returns nothing, retry once with the customer's exact wording before saying the material has nothing.

Parameters

query (string) required
The user's natural-language question to search for.
limit (string) optional
Max passages to return (defaults to the server's RAG_TOP_K).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "search-knowledge-base", "arguments": { "query": "example_query", "limit": "example_limit" } }, "id": 1 }

ask-user

Ask the user a short multiple-choice question and let them pick by tapping a button — the chat input turns into one button per option (plus an automatic Cancel button), and the user's tap comes back as their next message. Use it when you are NOT certain how to proceed and must not guess: - a recipient name that matched SEVERAL saved recipients (one option per candidate, so the user picks which one); - which of the user's own accounts to pay from, when it is genuinely unclear; - any yes/no you need before moving money or creating something. For a name that matched NO saved recipient, do NOT use this tool — there is nothing to choose, you simply need their account number; ask for it as a normal chat message. Only ask when there is real doubt — when exactly one saved recipient clearly matches, just proceed. Pass a short `question` and 2-4 concrete `options` phrased as the choices themselves — say what each one does (e.g. 'Transfer to **John Smith**', 'Transfer to **John Brown**'), not bare 'Yes'/'No'. Do NOT add a Cancel/'No' option of your own — a Cancel button is always added for you, so a second one is a confusing duplicate. Bold the recipient or account name with **double asterisks** wherever you name it — in the question, the options, and your message; never use «French» quotes. Both `question` and `options` must be in the user's language. The turn ends as soon as you call this tool, and the card already shows BOTH the question and the options — so do NOT also write them as a chat message; say nothing else on that turn. After the user replies, act on their choice; if they cancel, acknowledge briefly and stop — do not move money.

Parameters

question (string) required
The question to show the user, in the user's language.
options (array) required
2-4 answer choices, in the user's language, as plain strings — each becomes a button (e.g. 'Transfer to **John Smith**'). An object with a `label` is also accepted. Do NOT add a Cancel / None-of-these option — that is added for you.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "ask-user", "arguments": { "question": "example_question", "options": "example_options" } }, "id": 1 }

get-company-profile

Get the corporate account holder's profile: company name, company ID, VAT number, legal form, and the list of users with their roles, signing authority and approval limits. Use when the user asks about the company itself, who can approve payments, who holds signing authority, or the team's access rights. Identity and people only — balances are get-accounts and loans are get-loans. Company/corporate accounts only.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-company-profile", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

list-claims

List the company's issued claims / receivables (the company as creditor), with payer, amount, due date and status. Use for 'our claims', who owes us, or overdue invoices. Optionally filter by status, or set overdue_only=true to return only claims past their final due date. Also the way to answer a question about ONE claim: when the user names a claim number (a claim number, or an invoice's payment reference), list the claims and read that number's row out of the result — there is no separate single-claim tool. These are receivables owed TO the company — bills it must PAY are get-unpaid-bills. Company/corporate accounts only.

Parameters

status (string) optional
Optional status filter (e.g. 'unpaid', 'paid', 'cancelled').
overdue_only (boolean, default: False) optional
Only claims past their final due date.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list-claims", "arguments": { "status": "example_status", "overdue_only": false } }, "id": 1 }

list-payment-batches

List the company's payment batches with type, status, line count and total amount. Use for 'our payment batches', recent or pending outgoing payment runs — and for what awaits sign-off: status 'awaiting_approval' means a batch still needs its one approval, 'approved' means it is approved and ready to pay. Optionally filter by status (draft / awaiting_approval / approved / completed). The agent never approves — an authorized user approves and pays in the bank's own online bank. For one batch's payee lines and approval detail use get-payment-batch. Read-only: to SET UP new outgoing payments (refunds, payouts, a pasted payment file) use create-payment-batch. Company/corporate accounts only.

Parameters

status (string) optional
Optional status filter: draft / awaiting_approval / approved / completed.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list-payment-batches", "arguments": { "status": "example_status", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-payment-batch

Get one payment batch in full: its payee lines and its live approval state — whether it still needs its one approval or already has it, and any rejection. Use to inspect a specific batch before discussing it. The agent never approves — an authorized user approves and pays it in the bank's own online bank. If the user names a batch instead of giving its id (e.g. 'open the Suppliers batch'), first call list-payment-batches, match the name, and pass that batch's id here — never ask the user for the id. Company/corporate accounts only. The result renders as a payment-batch card in the customer's UI showing every line, the debit account and the approval state — do NOT repeat the batch in your reply. Answer with ONE short sentence (the batch's name, status and total, or what just changed); if the user asked about one line or one field, mention just that.

Parameters

batch_id (string) required
The batch id to fetch. If you only have the batch's name, resolve it to an id via list-payment-batches first — do not ask the user.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-payment-batch", "arguments": { "batch_id": "example_batch_id", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

get-balance-history

Get the company's total-position history: month-end snapshots of the whole position over time — total deposits, total loans (negative) and the net position, each in the company's home currency (the result's currency) with any foreign-currency balances converted at the bank's rates. Use when the user asks how the company's overall position or balances have developed over the year, about trends in total assets / the net position, or to chart total balances over time. Pass months to widen or narrow the window (1–36 month-ends, default 13). This is the time series; get-accounts is the position as it stands now, and get-loans the borrowing behind it. The series is computed from the statement balances the bank already holds, and is already aggregated and FX-converted — do not sum accounts by hand. Company/corporate accounts only.

Parameters

months (integer, default: 13) optional
Number of month-end snapshots to include (1–36, default 13).
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "get-balance-history", "arguments": { "months": 13, "user_asked_for": "example_user_asked_for" } }, "id": 1 }

list-account-products

List the bank-account products available to the company: current, savings, term-deposit and currency accounts, each with its interest rate and binding terms. Use when the user asks what accounts or savings options exist, or about deposit interest. Read-only: there is no tool that opens an account — say the company opens it in the bank's own online bank. Company/corporate accounts only.

Parameters

user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "list-account-products", "arguments": { "user_asked_for": "example_user_asked_for" } }, "id": 1 }

create-payment-batch

Create a DRAFT payment batch — an OUTGOING mass payment: many payments fired at once, one line per payee (national ID + account number + amount). This is the online bank mechanism companies use for supplier remittances, contractor payouts, refunds or salary-related payments — normally sourced from a payment file exported by their accounting or payroll system. If the user supplies the FILE'S CONTENT (pasted, attached or quoted), do NOT parse it here — call create-payment-batch-from-file with the content VERBATIM and let the bank parse it: these are fixed-width records where reading a field one character early yields a valid-looking but wrong account number, and amounts are stated in minor units (100 = 1 in the main unit). Use THIS tool for payments the user dictates or reads out, and never guess a value you cannot see. Payee NAMES are optional: the bank resolves each line's name from the national registry by its national ID and that registry name is authoritative, so a payment file carrying no names is normal — never invent one; only a line whose national ID the registry does not know needs a name supplied by the user. The bank validates every line like a real payment file upload (a malformed national ID failing its checksum, bad account format, or a payee that cannot be named — a national ID unknown to the registry with no name given), but the DRAFT IS STILL CREATED with each broken line flagged: the response carries per-line errors (each line's line_no, id and errors[]) plus the valid/invalid split. A flagged line is simply LEFT OUT when the batch is submitted — it is never paid. Never describe a flagged row as payable; report exactly which rows are broken and why, fix what the file itself supports with update-batch-line, and ask the user about the rest — the user can also fix rows directly in the batch card. The batch always lands in 'draft' and NO money moves: an authorized user approves and pays in the bank's own online bank; submit with submit-batch-for-approval. NOT for a SINGLE transfer or payment — one payment to one recipient is create-payment-order, even for a company; a batch is for many payments together. NOT for paying the company's own incoming bills — those are settled individually (get-unpaid-bills), never bundled into a batch. Omit debit_account_id to use the company's main account. Company/corporate accounts only. The result renders as a payment-batch card in the customer's UI showing every line, the debit account and the approval state — do NOT repeat the batch in your reply. Answer with ONE short sentence (the batch's name, status and total, or what just changed); if the user asked about one line or one field, mention just that.

Parameters

name (string) required
A short name for the batch, e.g. 'Suppliers May'.
lines (array) required
The payee lines — at least one. Each is one payment.
batch_type (string, default: domestic) optional
domestic (default), payroll or foreign.
debit_account_id (string) optional
Account to debit. Omit to use the company's main account.
requested_execution_date (string) optional
Requested execution date as YYYY-MM-DD, if future.
withdrawal_mode (string, default: single) optional
How the debit books at pay time: 'single' (default) = one aggregate withdrawal for the whole batch on the payer's statement; 'per_payment' = one withdrawal per payment line. Editable on the draft later (update-payment-batch), so only set it when the user asked.
Allowed values: single per_payment
transaction_type (string) optional
Payment type declared for the batch — the DEFAULT every line inherits. The codes are the BANK'S OWN list and differ by bank and market. Every batch result lists the bank's codes under batch.payment_types (with its default); never send a code that is not on that list. Omit it and the bank applies its default. Pick one from what the batch IS when it is obvious (a payroll payout is the salary type); otherwise omit it — it is editable on the draft (update-payment-batch). A batch MAY mix types: set a differing line's own transaction_type on that line instead.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "create-payment-batch", "arguments": { "name": "example_name", "lines": "example_lines" } }, "id": 1 }

create-payment-batch-from-file

Create a DRAFT payment batch from a payment FILE the customer exported from their accounting or payroll system. USE THIS whenever the user supplies file CONTENT (pasted into the chat, attached, or quoted) rather than dictating payments one by one: pass the content VERBATIM in file_text and let the bank parse it. Do NOT parse it yourself and do NOT call create-payment-batch with lines you extracted from a file — these are fixed-width banking records where reading a field one character early yields a valid-looking but WRONG account number, and where amounts are stated in minor units (100 = 1 in the main unit), so a hand parse silently misdirects payments and inflates every amount 100x. The bank handles its own file formats (pain.001 XML, CSV/Excel exports, a fixed-width domestic format), tolerates a paste that lost its line breaks, reads each line's own payment type, resolves every payee's name from the national registry, and uses the debit account named in the file when it belongs to the company (it warns you when it does not — relay that). Copy the content exactly: never reflow it, re-align columns, strip spaces or 'tidy' it. Broken lines do not block anything — they come back flagged and are fixed with update-batch-line. Company/corporate accounts only. The result renders as a payment-batch card in the customer's UI showing every line, the debit account and the approval state — do NOT repeat the batch in your reply. Answer with ONE short sentence (the batch's name, status and total, or what just changed); if the user asked about one line or one field, mention just that.

Parameters

file_text (string) required
The payment file's content, copied VERBATIM — every space and line break as given. Do not summarize, reformat or re-align it.
name (string) optional
Name for the batch. Omit to let the bank name it after the file (e.g. 'Payments 2026-08-10').
debit_account_id (string) optional
Account to debit. Omit so the bank can use the debit account named in the file, falling back to the company's main account.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "create-payment-batch-from-file", "arguments": { "file_text": "example_file_text", "name": "example_name" } }, "id": 1 }

update-payment-batch

Edit a DRAFT payment batch's settings in place: its name, the account it debits (must be one of the company's accounts in its home currency; resolve a named account to its id via get-accounts, never guess), its payment type, and/or the withdrawal mode: 'single' = ONE aggregate withdrawal for the whole batch on the payer's statement; 'per_payment' = one withdrawal per payment line. Pass ONLY the fields to change. Only drafts can be edited: once a batch is in the approval flow, an approver signs exactly what was submitted. A single line fix is update-batch-line; 'lines' here carries SEVERAL edited lines (each its id + changed fields) together with the settings, so one call saves everything the user changed. If you only have the batch's name, resolve its id via list-payment-batches first — never ask the user for the id. Returns the full updated batch — some banks re-save the batch on edit, so use the RETURNED id afterwards. Company/corporate accounts only. The result renders as a payment-batch card in the customer's UI showing every line, the debit account and the approval state — do NOT repeat the batch in your reply. Answer with ONE short sentence (the batch's name, status and total, or what just changed); if the user asked about one line or one field, mention just that.

Parameters

batch_id (string) required
The draft batch's id. If you only have its name, resolve it via list-payment-batches first — do not ask the user.
name (string) optional
New batch name, e.g. 'Salaries August'.
debit_account_id (string) optional
New debit account — an account id from get-accounts (one of the company's accounts in its home currency).
withdrawal_mode (string) optional
How the debit books at pay time: 'single' or 'per_payment'.
transaction_type (string) optional
New payment type declared for the batch. The codes are the BANK'S OWN list and differ by bank and market. Every batch result lists the bank's codes under batch.payment_types (with its default); never send a code that is not on that list.
lines (string) optional
Edited payee lines, each {id, …changed fields only}. Use this when several lines change at once (the card's save button does); a single line is update-batch-line.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "update-payment-batch", "arguments": { "batch_id": "example_batch_id", "name": "example_name" } }, "id": 1 }

update-batch-line

Fix or edit ONE payee line of a DRAFT payment batch IN PLACE — never delete and re-create a batch to fix a row. Use to correct a line the bank flagged as invalid (a malformed national ID failing its checksum, a malformed account or giro number, or a payee that could not be named), or to change a line's amount, message, payment type or payment reference at the user's request. Pass batch_id and the line's line_id (each line's id, line_no and errors[] are in the batch detail from create-payment-batch / get-payment-batch) plus ONLY the fields to change — never resend values you are not changing, and never guess a corrected value the user has not given. The bank re-validates the line, re-resolves the payee name from the national registry (the registry name is authoritative), recomputes the batch total, and returns the full updated batch with any remaining per-line errors — fix the rest the same way, then submit with submit-batch-for-approval (an unfixed line is left out of the batch, not paid). Only drafts can be edited. Company/corporate accounts only. The result renders as a payment-batch card in the customer's UI showing every line, the debit account and the approval state — do NOT repeat the batch in your reply. Answer with ONE short sentence (the batch's name, status and total, or what just changed); if the user asked about one line or one field, mention just that.

Parameters

batch_id (string) required
The draft batch's id.
line_id (string) required
The line's id (from the batch detail's lines[].id).
recipient_name (string) optional
New payee name. Only needed when the payee's national ID is not in the national registry — a registry-resolved name always wins.
recipient_account_number (string) optional
Corrected payee address: an account number (NNNN-NN-NNNNNN in Iceland, CCCC-NNNNNNN in Sweden), or the payee's Bankgiro number (NNNN-NNNN) or PlusGiro number (NNNNNNN-N) in Sweden when the line's payment type pays one.
recipient_national_id (string) optional
Corrected payee national ID in the customer's market: kennitala (DDMMYY-NNNN) in Iceland; personal identity number (personnummer, YYMMDD-NNNN) or organisation number (organisationsnummer, NNNNNN-NNNN) in Sweden.
recipient_kennitala (string) optional
Deprecated: the old name of recipient_national_id, still accepted for one release. Pass recipient_national_id.
amount (string) optional
New amount, in the batch's currency (> 0). Written as the customer says it: a plain number in the currency's main unit, with no more decimals than the currency has (for example 12400, or 499.50 in a currency with 2 decimals) — never in minor units such as öre or cents, with no currency sign and no thousands separators.
explanation (string) optional
New message shown to the payee.
transaction_type (string) optional
This line's own payment type, in the bank's own codes as listed under batch.payment_types. A batch may mix types.
payment_reference (string) optional
The structured payment reference the payee requires (e.g. the OCR number on a Swedish invoice), copied exactly as given.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "update-batch-line", "arguments": { "batch_id": "example_batch_id", "line_id": "example_line_id" } }, "id": 1 }

submit-batch-for-approval

Submit a DRAFT payment batch into the approval flow (draft → awaiting_approval), so an authorized user can approve and pay it in the bank's own online bank. Use after create-payment-batch, or when the user asks to send a batch for approval. If the user names a batch instead of giving its id, resolve it via list-payment-batches first — never ask for the id. Invalid lines do NOT block this: each one is LEFT OUT of the batch (excluded, never paid) and only the valid lines are sent, so offer to fix flagged rows with update-batch-line BEFORE submitting if the user may want them included. Only a batch with no valid line at all is refused. This does NOT approve or pay the batch; the agent never approves. Company accounts only. The result renders as a payment-batch card in the customer's UI showing every line, the debit account and the approval state — do NOT repeat the batch in your reply. Answer with ONE short sentence (the batch's name, status and total, or what just changed); if the user asked about one line or one field, mention just that.

Parameters

batch_id (string) required
The draft batch's id. If you only have its name, resolve it via list-payment-batches first — do not ask the user.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "submit-batch-for-approval", "arguments": { "batch_id": "example_batch_id", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

create-claim

Issue a claim / receivable the company is OWED by a payer — an invoice the company is the creditor of. Use for issuing a bill to a customer. This is inbound money (a receivable), not an outgoing payment. The bank issues it in its own claim scheme and returns how the payer pays it, for example a claim number or an invoice's payment reference. The payer's name is optional — the bank resolves it from payer_national_id via its national registry. Dates are YYYY-MM-DD. Omit disbursement_account_id to receive into the company's main account. Company/corporate accounts only.

Parameters

amount (number) required
Claim amount, in the currency of the account it pays into (> 0). Written as the customer says it: a plain number in the currency's main unit, with no more decimals than the currency has (for example 12400, or 499.50 in a currency with 2 decimals) — never in minor units such as öre or cents, with no currency sign and no thousands separators.
due_date (string) optional
The claim's due date as YYYY-MM-DD. Required.
gjalddagi (string) optional
Deprecated: the old name of due_date, still accepted for one release. Pass due_date.
payer_name (string) optional
Who owes the money. Optional — resolved from payer_national_id via the national registry when omitted.
payer_national_id (string) optional
The payer's national ID in the customer's market: kennitala (DDMMYY-NNNN) in Iceland; personal identity number (personnummer, YYMMDD-NNNN) or organisation number (organisationsnummer, NNNNNN-NNNN) in Sweden, if known.
payer_kennitala (string) optional
Deprecated: the old name of payer_national_id, still accepted for one release. Pass payer_national_id.
final_due_date (string) optional
Final due date as YYYY-MM-DD. Omit for the bank's own rule.
eindagi (string) optional
Deprecated: the old name of final_due_date, still accepted for one release. Pass final_due_date.
message (string) optional
Message / reference shown on the claim, if any.
disbursement_account_id (string) optional
Account the payment lands in. Omit for the company's main account.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "create-claim", "arguments": { "amount": 10, "due_date": "example_due_date" } }, "id": 1 }

prepare-transfer

Prepare a money transfer for the user to confirm (AI-executes mode: prepare → the user confirms → execute-transfer). Pass the recipient as plain values — do NOT build a typed creditor object. A domestic transfer in the customer's own market (Iceland or Sweden) is the default. Do this every time, in order: (1) Recipient — when the user names one (e.g. 'transfer to John'), FIRST call get-recipients with the name in its base form, then act on the result: exactly one match → prepare with THAT recipient (it is already saved, so do NOT call create-recipient); several matches → ask which one before preparing; no match → ask for the recipient's account number as a normal chat message and prepare the transfer to the number they give you. (As a safety net this tool also resolves a bare recipient_name itself and may return missing_recipient / ambiguous_recipient — handle those the same way, but prefer the explicit get-recipients step so the customer sees the lookup happen.) (2) Source account — from_account_id is one of the USER's OWN accounts: the Account.id (a UUID) from get-accounts, NEVER an account number and NEVER the recipient's account. When the user did not name a source account, omit it to use their default withdrawal account (normally the current account); only ask which account to pay from if there is genuine ambiguity. (3) Call this tool once. This mode pays NOW only. When the customer names a day ('on the 10th', 'next Friday') or a rhythm ('every month'), pass requested_execution_date or frequency and relay the timing_not_supported answer — never leave the date out and prepare a payment for today in its place. After it succeeds the user sees a transfer card with the amount and accounts and a confirm button labelled in the card's language; they confirm by tapping it or replying. The result's content names the button's label exactly as the card shows it to this customer: when you mention the button, quote that label as written — never translate it or put another label in its place. Your message MUST match this flow — you prepared a transfer, NOT a payment order: say 'I've prepared a transfer to John — review it and tap <label> to confirm.', with <label> the button's label from the result, in quotes. When recipient_account_number is the payee's Bankgiro number or PlusGiro number in Sweden rather than a bank account number, what you prepared is a payment, not a transfer: call it a payment. Do NOT say 'payment order' and do NOT mention a payment order's approval button — that wording belongs only to bank-authorised mode — and do NOT claim the money was already sent: it moves only when you call execute-transfer with the transferIntentId after the user confirms. execute-transfer's response for a NEW recipient (account number typed by the user, not from get-recipients) already ends with the save-recipient offer — relay it, do not add your own; if the user accepts, call create-recipient.

Parameters

amount (number) required
Amount to transfer, in the debit account's currency (> 0). Written as the customer says it: a plain number in the currency's main unit, with no more decimals than the currency has (for example 12400, or 499.50 in a currency with 2 decimals) — never in minor units such as öre or cents, with no currency sign and no thousands separators.
recipient_account_number (string) optional
Recipient account number. Optional: if omitted, the tool resolves it from the saved recipients using recipient_name or recipient_national_id.
recipient_name (string) optional
Recipient display name. Passing just the name is enough — the tool looks the recipient up among the saved recipients and fills in the account number and national ID.
recipient_national_id (string) optional
Recipient's national ID in the customer's market: kennitala (DDMMYY-NNNN) in Iceland; personal identity number (personnummer, YYMMDD-NNNN) or organisation number (organisationsnummer, NNNNNN-NNNN) in Sweden, if known.
recipient_kennitala (string) optional
Deprecated: the old name of recipient_national_id, still accepted for one release. Pass recipient_national_id.
from_account_id (string) optional
Account to debit. Optional; defaults to the user's default withdrawal account.
currency (string) optional
ISO 4217 currency code of the amount — the debit account's currency. Omit for the currency of the customer's market (ISK in Iceland, SEK in Sweden).
description (string) optional
Free-text note shown on the transfer (e.g. 'Rent').
rail (string) optional
Settlement rail. Omit for the domestic rail ('domestic-IS' in Iceland, 'domestic-SE' in Sweden); any casing is accepted.
idempotency_key (string) optional
Optional idempotency token to dedupe accidental retries.
requested_execution_date (string) optional
ISO date (YYYY-MM-DD) the customer wants the transfer paid on, when it is not today. This mode pays now only: the tool answers timing_not_supported and prepares nothing — relay that line and offer to pay now. Never drop the date to prepare a payment for today instead.
frequency (string) optional
How often the customer wants the transfer repeated, when they ask for a recurring one — one of weekly, every_two_weeks, monthly, every_two_months, quarterly, semi_annual, annual. This mode pays once, now: the tool answers timing_not_supported and prepares nothing — relay that line. Never prepare a single payment in its place.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "prepare-transfer", "arguments": { "amount": 10, "recipient_account_number": "example_recipient_account_number" } }, "id": 1 }

pay-bill

Prepare a bill payment for confirmation. Validates the bill exists, isn't already settled, and that the chosen source account has enough funds. Returns the prepared payment — always confirm the bill, the amount, and the source account with the user, and only call execute-bill-payment after they explicitly confirm.

Parameters

bill_id (string) required
The bill to settle — its id from get-unpaid-bills, or its payment reference. Copy either verbatim from the get-unpaid-bills result.
from_account_id (string) optional
Account to debit. Optional; defaults to the user's default checking account.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "pay-bill", "arguments": { "bill_id": "example_bill_id", "from_account_id": "example_from_account_id" } }, "id": 1 }

execute-bill-payment

Execute a bill payment after the user has confirmed. Use pay-bill first to prepare and validate — it returns a paymentIntentId — then call this tool with that EXACT id once the user explicitly approves. Copy the id verbatim from the pay-bill result; never construct, guess or reuse one. The bill and debit account were locked in at prepare time, so nothing else needs to be passed.

Parameters

payment_intent_id (string) required
The paymentIntentId returned by pay-bill, copied verbatim. Valid once, for about 5 minutes.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "execute-bill-payment", "arguments": { "payment_intent_id": "example_payment_intent_id", "user_asked_for": "example_user_asked_for" } }, "id": 1 }

create-recipient

Save a new recipient to the user's recipient list — the 'save recipient' checkbox on banks' transfer forms — so they can just say the name on future transfers. NEVER call this automatically: only with the user's explicit consent, and only AFTER the money has moved. Saving is an optional afterthought, NEVER a precondition for a transfer or payment order — never offer it as the way forward when a name matches no saved recipient (the user can pay someone once without ever saving them). The money-movement tools already end their response with the save offer when the recipient is NEW (account number typed by the user rather than returned by get-recipients) — relay that offer as-is, do not add a second one. Skip any save offer entirely when get-recipients matched the recipient earlier in this conversation, or you already saved them this conversation — never ask twice for the same recipient, and never nudge again after a decline: the money already moved, so drop the subject and never re-issue the order/transfer. When the user accepts: call this tool with the display name they picked (often informal — 'Dad', 'Rent' — or a full name) and the same account number you just used for the order or transfer, plus their national ID (national_id) if known. Do NOT construct a typed identifier object — pass the account number as a plain string. Then confirm in one line ('Done — **<Name>** is now in your recipients.').

Parameters

name (string) required
Display name to save the recipient under. Use the name the user picked (often informal — 'Dad', 'Rent' — or a full name they typed). NOT the bank's name lookup.
account_number (string) required
Recipient's account number as a plain string — the same one you passed to create-payment-order. Example: '0159-26-007654' in Iceland, '9024-1234567' in Sweden.
country (string) optional
ISO-3166 alpha-2 country code for the account. Omit for the customer's own country ('IS' in Iceland, 'SE' in Sweden).
national_id (string) optional
Optional: the recipient's national ID in the customer's market: kennitala (DDMMYY-NNNN) in Iceland; personal identity number (personnummer, YYMMDD-NNNN) or organisation number (organisationsnummer, NNNNNN-NNNN) in Sweden. Omit if the user didn't provide one — it's not required to create the recipient.
kennitala (string) optional
Deprecated: the old name of national_id, still accepted for one release. Pass national_id.
idempotency_key (string) optional
Optional idempotency token to dedupe accidental retries.
user_asked_for (string) optional
Analytics only — does not change what this tool does. A short, plain-language note of what the user asked for in their latest message, in your own words. Do NOT include any personal data: no names, account numbers, kennitölur / national IDs, emails, phone numbers, or amounts tied to a person. Generalise instead, e.g. 'wants the list of account products they could open' or 'how much was spent on groceries last month'. Omit if the intent is unclear.

Example Request

{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "create-recipient", "arguments": { "name": "example_name", "account_number": "example_account_number" } }, "id": 1 }

Integration Example (Agent → MCP Server)

This example shows how the Agent communicates with MCP Server. User tokens come from httpOnly cookies.

# Python example (Agent server-side code) from mcp import ClientSession from mcp.client.streamable_http import streamablehttp_client # Token is extracted from user's httpOnly cookie by the Agent # and forwarded to MCP Server via Authorization header headers = { "Authorization": f"Bearer {user_token}", "X-Bancony-Integration": "menigademo", "X-Bancony-Culture": "en-GB" } # Connect to the MCP server via Streamable HTTP async with streamablehttp_client( "http://mcp-server/mcp", headers=headers ) as (read_stream, write_stream, _): async with ClientSession(read_stream, write_stream) as session: await session.initialize() result = await session.call_tool( "get-accounts", {"only_withdrawal_accounts": True}, )