How can I return Account.role in a Session token?

How can I return Account.role in a Session token? Actually, we want to create an Object according to a role (like User, vendor, Admin, superAdmin)

If you want to know what roles the user has, use me function.

See below:

{
  me{
    roles{name hypi{id}}
  }
}