set_starter_prompt
Set or clear an app's authored starter prompt — a short getting-started instruction prefilled in the chat host when a visitor clicks "Open in Claude" or "Open in ChatGPT" on the app, replacing the generic "I'm using this Charming app" body. Use this to frame a shared/remixable app's intended first action for visitors. Write a generic instruction — do NOT embed the app's URL: the app name, description, and URL (and, for unclaimed apps, an access token) are appended automatically at render time, so a hardcoded URL would point every remixer at the template instead of their own copy. Pass starter_prompt: null (or an empty string) to clear and revert to the generic default. Owner-only; anonymous apps must be claimed first. Idempotent (re-setting the same value is a no-op). Length cap: 2000 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app ID (UUID) whose starter prompt should change. | |
| starter_prompt | Yes | Getting-started instruction the chat host receives when a visitor clicks "Open in Claude" / "Open in ChatGPT". The authored text leads; the app's name, description, URL, and (for unclaimed apps) an access token are appended automatically as context — so write a generic 1–3 sentence instruction (the first action you want the visitor to take, plus any persona/voice), NOT a self-contained prompt and NOT the app's URL. Pass null or "" to clear and revert to the generic default. Max 2000 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Indicates success. Errors arrive as content with isError:true. | |
| message | Yes | Consequence copy the agent should surface to the user. Explains where the prompt is rendered (Open in Claude / Open in ChatGPT) and how to clear it. | |
| advisories | No | Structured non-fatal advisories, including authoring issues and unread staff feedback responses. Each advisory.summary is also appended to the text content for the LLM path. | |
| starter_prompt | Yes | The current starter prompt on the app row after this call. Null when the prompt was cleared (or normalized away from whitespace-only input). Otherwise the verbatim authored string. |