Set visibility
set_visibilityFlip a spawnpoint project between restricted (the default: only the owner and emails they share with can open the link, verified by a one-time code) and public (anyone with the link). Takes effect immediately at the share URL; the machine is reconfigured in the background within seconds (a sleeping project is woken for it, and a deploy in progress takes the change when it finishes). Setting the current value changes nothing. The share URL stays the same either way. The gate covers the app, not a public bucket (add_storage): a restricted project with a public bucket gets a warning to relay. Restricting keeps any paths listed with set_public_paths open to anyone, and the answer names them.
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>",
"visibility": "<visibility>"
},
"name": "set_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | the id of the project | |
| visibility | Yes | public (anyone with the link) or restricted (only the owner and shared emails) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| warning | No | ||
| share_url | No | ||
| project_id | Yes | ||
| visibility | Yes |