Change a project's publish settings
r3_publish_settings_setChange publish settings of one of the user's own R3 projects in this environment — the app's Deploy → Settings. Only the settings named change (the rest stay as they are). Only when the user asked for it, or approved the text: these settings shape the PUBLIC live page — its title and description in search results and link previews (seoTitle, seoDescription), Works on (keyboard puts a "made for a keyboard" note on phones and a "desktop" badge; touch a "mobile" badge; both, both; untested none — set it only after the user confirmed it or it was tested, never from the code scan alone), how it starts, its controls. Invalid values are refused with every problem named, and nothing is saved. The answer names what changed; open live and preview pages are told (a preview reloads, a live page offers a reload). Takes effect without a new release. Needs the publish:live right. R3 admins only: gallery features, hides or sets the example prompt of a project in the landing gallery (any member's project; send it without settings for a project that is not yours).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gallery | No | R3 admins only: the landing gallery, e.g. {"featured": true} or {"examplePrompt": "…"}. | |
| settings | No | Only the settings to change, e.g. {"worksOn": "keyboard", "seoDescription": "…"}. | |
| projectId | Yes | The project id (r3_project_list). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | This answer in words: what was done, what R3 measured, decided or refused, and what to do next. The same text as the result's text block. Read it: the fields beside it are the data, this is the guidance. | |
| changed | Yes | ||
| gallery | No | ||
| projectId | Yes | ||
| environment | Yes | ||
| portalSettings | Yes |