Add Screen Prompt
Define custom AI behavior for specific screens
Unique identifier for the screen in your mobile app
This prompt overrides the main prompt for this specific screen
How It Works
Developer guide for screen prompts
1. In your mobile app: When navigating to a screen, send the screenId via WebSocket:
ws.send(JSON.stringify({
type: 'screen_update',
screenId: 'exam_question_1',
screenData: {
question: "What is 2+2?",
options: ["A) 3", "B) 4", "C) 5"],
buttons: ["Submit", "Skip"]
}
}));
2. Backend automatically:
- Looks up the screen prompt for
exam_question_1 - Injects it as highest priority in AI context
- AI responds according to screen-specific behavior
3. Example use cases:
- Exam screens: "Always explain why an answer is correct/wrong"
- Practice screens: "Be encouraging and patient"
- Form screens: "Help fill fields, validate input"
- Quiz screens: "Don't reveal answers until user attempts"
Active Screen Prompts
All configured screen behaviors