Share the project under a public link
set_project_public_linkPublishes the project under a link anyone can open without logging in, or takes that link down. Whoever has the link sees the project's visibility read-only, the same view the app shares from project settings.
Instructions
Publishes the project under a link anyone can open without logging in, or takes that link down. Whoever has the link sees the project's visibility read-only, the same view the app shares from project settings.
Before publishing, confirm with the user that the project's data may be visible to anyone holding the link. Publishing a project that is already public answers the link it already has, so it is safe to call again to read the link back; list_projects also shows it as publicUrl. Taking the link down and publishing again creates a new link and the old one stops working, so warn the user before disabling a link they have handed out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true publishes the project under a public link, false takes the link down. | |
| projectId | Yes | The project to work on — its id from list_projects. Required on every call, so that parallel conversations never read or write each other's project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The public link. null = the project is not shared. | |
| isPublic | Yes | Whether the project can be viewed without logging in. |