How do I check which team(s) a workspace member belongs to using the API?

I'm trying to figure out the best way to determine whether a specific workspace member is part of a given team in Attio.

From the docs, I found that Attio's MCP provides two relevant tools:

  • list-workspace-members — lists members in the workspace along with their team memberships

  • list-workspace-teams — lists all teams in the workspace

So one approach seems to be calling list-workspace-members and inspecting the team memberships field for the member I'm interested in.

On the REST API side, I can see GET /v2/workspace_members and GET /v2/workspace_members/{id} (requires the user_management:read scope), but I couldn't find a documented teams field or a dedicated teams endpoint there.

Questions:

  1. Is the MCP list-workspace-members tool currently the recommended way to retrieve team memberships?

  2. Is there a REST API equivalent for listing teams or fetching a member's teams that I might have missed?

Thanks!