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).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_invite_link"
}
}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 project of the call (expectedProjectId, or the X-Project-Id header). | |
| allowGuests | No | If true (default), visitors can join without an account (temporary guest session). | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |