linear.listTeams returns team IDs for issue and project actions.
automations/list-linear-teams.automation.ts
limit accepts 1–50 and defaults to 50. after continues from pageInfo.endCursor. includeArchived controls archived teams. Optional second argument { account } defaults to the project binding.
Returns { teams: LinearTeam[]; pageInfo: LinearPageInfo }, including team key, names, color/icon, description, workflow settings, estimate settings, privacy, timezone, and dates.