Skip to main content

Description

The Get User Banks tool retrieves the banks associated with the current user. Each bank record includes the bank’s name and logo.
Database Connection: Managed by Prisma Client

Arguments

  • None

Example Configuration

Response Handling

  • Successful Response: If banks are found, the function returns an array of bank objects, each containing:
    • name: The bank’s name.
    • logo: The URL or path to the bank’s logo.
  • Error Handling: If no banks are found, an empty array is returned.
Example Response