list_accounts
List all checking, savings, and prepaid accounts for a user at a specified Open Finance Brasil bank using CPF or internal ID.
Instructions
Lists all bank accounts (checking, savings, prepaid) of a user at an institution participating in Open Finance Brasil.
Args: subject_id: User's CPF (digits only) or internal ID. bank: Identifier of the participating bank. ctx: MCP request context, providing access to shared adapters.
Returns: The user's accounts at the given bank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| accounts | Yes | ||
| total_records | Yes |