docs.json under contextual.options:
docs.json
Available options
Content actions
AI assistants
Editor integrations
Custom options
You can add custom entries to the toolbar with a title, description, icon, and link. Thehref supports dynamic placeholders:
docs.json
The contextual toolbar is only visible on preview and production deployments, not in
mint dev local preview.Pairing with Visibility
The toolbar’scopy and view options expose your page’s Markdown content directly. If you use the Visibility component, the for="agents" blocks are included in that Markdown, giving AI assistants structured context that human readers don’t see.
Next steps
Visibility
Show different content to humans and AI agents on the same page.
Prompt component
Embed shareable AI prompts readers can copy or open in Cursor.