scf_list_teams
List an organization's teams, optionally filtered by business function or membership, and include archived teams to preserve full history.
Instructions
List the organization's teams (read — viewer role). Archived teams are hidden unless include_inactive is set; they are kept, never deleted, so history still resolves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mine | No | Only teams the caller is a member of (default false); each team then also carries membership_role. 'The caller' is the API key's identity; on a self-hosted instance that is a service account on no team, so this returns nothing — use team_id instead. | |
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| function_id | No | Filter by business function — obtain from scf_list_functions | |
| include_inactive | No | Include archived teams (default false) |