create_invite_link
Creates a shareable invite link (/join/) for a project — the same mechanism as the app's own 'Share' button. Requires a GOVERNING role (owner or manager) — matches POST /api/projects/[id]/shares/token since 2026-08-19. Optional role ('viewer' default, or 'editor') and allowGuests (default true — lets people join without creating an account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role granted to the people who join through this link (default: viewer). | |
| projectId | No | UUID of the project to share. Defaults to the session's active project. | |
| allowGuests | No | If true (default), visitors can join without an account (temporary guest session). | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |