Choose who can open an app
appSharingSetModeChoose who can open one of your apps (Share & access page): make it private — open only to people you choose by email, or to anyone with an access code — or open it to anyone with the link. With people, emails adds those people in the same call. Requires confirmed: true, representing the human’s agreement to this exact setting for this exact app, made knowing that people or code puts Tofu’s sign-in page in front of the whole app at once: everyone not let in, including people using it now, sees it until link is chosen again; without the literal nothing is sent. If the answer is not changed or unchanged, an app that was open may still be open to anyone with the link.
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>",
"mode": "<mode>",
"confirmed": "<confirmed>"
},
"name": "appSharingSetMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| emails | No | ||
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| message | Yes | ||
| outcome | Yes |