Create an invite link
appInvitesCreateCreate an invite link that lets ONE person into one owned PRIVATE app, whose door answers everyone else. Requires confirmed: true, representing the human’s agreement to hand a way into THIS app to somebody; without the literal nothing is created. The app must be private through its older Private setting (read appInvitesList: private true — otherwise turn Private on first on the Sign-in page) and live on Tofu’s static hosting, with sharing not set to people or code (appSharingGet); any other app is refused without saying which condition failed. Creating a link changes nothing about the app — nobody is let in until someone opens it — and Tofu sends the person nothing itself. The answer’s invite.url is the link the human sends to the one person: the first time it is opened it admits them and stops working for anyone else. Every call mints another link; an error result alone does not establish whether one was minted, and appInvitesList reports what each call left behind.
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": {
"projectId": "<projectId>",
"confirmed": "<confirmed>"
},
"name": "appInvitesCreate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | Yes | ||
| projectId | Yes | ||
| expiresInDays | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invite | Yes | ||
| message | Yes |