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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject_id": "<subject_id>",
"bank": "<bank>"
},
"name": "list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| accounts | Yes | ||
| total_records | Yes |