teams-create
Create a new team owned by the user (they become the owner). Required: name (string). Optional: ref — set to "assistant_suggestion" ONLY when creating in response to the me → suggestions.create_team offer, so the creation is attributed to that surface; omit it when the user asked to create a team unprompted. No charge is incurred here; a per-seat charge is added only when an invited teammate accepts. A user can own at most 3 free teams: at that limit this returns an error naming the teams they own and asking them to upgrade or delete one — relay it rather than retrying. Returns join_url: a shareable link that lets teammates join themselves, with join_link_expires_at and join_link_uses_remaining. Offer that link FIRST — most people cannot recall a colleague's address mid-conversation — and use teams-invite when the user names a specific address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Attribution surface. Set to 'assistant_suggestion' only when acting on me.suggestions.create_team; otherwise omit. | |
| name | Yes | Team name (required) |