Share project
share_projectShare a restricted spawnpoint project with one person by email: they get added to the allow list, receive an invite email with the link, and can open the share URL after verifying with a one-time code sent to that address (no account needed). Or share it with everyone at a company: pass the domain as @company.com, and anyone who verifies an address at exactly that domain can open it; nobody is emailed, so give the user the link to pass along. Consumer mail domains such as @gmail.com are refused, since anyone can get an address there: make the project public instead. Takes effect immediately. For a share that should end ("for a week"), pass expires_in such as 7d: from then on this entry stops granting access, with nothing to remember to undo; other grants (a domain entry, the team, public paths) still apply. Call once per person or domain; re-adding an entry that is still live sends no second email (one whose end has passed gets a fresh invite), and every call sets the entry's end to its expires_in, so leaving expires_in out makes the share permanent again. The allow list only matters while the project is restricted; a public project is open to anyone with the link regardless.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"email": "<email>"
},
"name": "share_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | the viewer's email address, or a whole domain written @company.com to share with everyone who has an address there | ||
| expires_in | No | optional: the share ends after this long, e.g. 1d, 7d, 30d, or 12h (1h to 365d); after that this entry stops granting access, though other grants (a domain entry, the team, public paths) still apply. Leave it out for a share that never ends. Every call sets the end again, so sharing an entry again without it removes the end | |
| project_id | Yes | the id of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| share_url | No | ||
| project_id | Yes | ||
| shared_with | Yes | ||
| share_expired | No | ||
| share_expires | No |