- Context Components
- Visibility
Context Components
Visibility
Control browser presentation without confusing it with access control.
Visibility is a presentation wrapper. In the browser renderer,
for="agents" hides its children; other values render the children normally.
It is not an authentication or permission boundary.
Example
This explanation is visible in the browser.
<Visibility for="humans">
This explanation is visible in the browser.
</Visibility>
<Visibility for="agents">
Example source-only context: refer to the authentication guide before making requests.
</Visibility>
The second paragraph is intentionally absent from the rendered example. The code block still shows it so you can inspect the syntax.
Do not place secrets or restricted information inside this wrapper. Content can remain in source or exports. Hiding content in a browser does not make it private, and does not guarantee that a particular AI client will receive it.
Use for to select the presentation behavior and children for the content.
Preview your actual Markdown, MCP or other export separately when designing an
agent-facing workflow.