Description
The Get User Organization tool retrieves the name of the organization associated with the current user. This tool checks for active organization access and returns the name of the organization. If no active organization is found, the result defaults to “None”.
Database Connection: Managed by Prisma Client
Arguments
Example Configuration
Response Handling
- Successful Response: If an active organization is found, the function returns:
result: The organization name.
- Error Handling: If no active organization is found, the function returns “None”.
Example Response