Documentation Index
Fetch the complete documentation index at: https://daily-mb-ui-agent.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Apps concatenate these constants into their system prompt so the LLM understands the<ui_state> and <ui_event> developer messages the SDK
injects on its behalf.
UI_STATE_PROMPT_GUIDE
- The two SDK-managed message kinds (
<ui_event>and<ui_state>). - The Playwright-MCP-style indented format and what each line means.
- Known state tags (
[focused],[selected],[disabled],[offscreen]). - Grid metadata (
[cols=N]) and how to compute row/column from the flat reading order. - How to resolve position references (“top right”, “the third one”) against
the most recent
<ui_state>tree. - The
<selection ref="eN">selected text</selection>block that appears inside<ui_state>when the user has text selected on the page, and how to treat it as the deictic referent for “this” / “that” / “what I selected.”