bridgableplugin

bridgable_query

Search OpenBridge component documentation via RAG.

bridgable_query

Search OpenBridge component documentation. This is the primary tool — your agent calls it whenever it needs to know about a component's props, events, slots, methods, or CSS parts.

Arguments

NameTypeRequiredDescription
querystringYesSearch text, e.g. "slider value event", "obc-top-bar breadcrumbs". Prefer exact kebab-case tag names when the component is known.
frameworkstringNoRestrict results to a specific framework's wrappers: lit, react, vue, svelte, or angular.

Returns

JSON-formatted search results with component names, sections, modules, relevance scores, and text snippets.

Usage notes

  • Prefer exact component namesobc-slider returns better results than slider component.
  • Pass framework when the user has already specified one. This keeps results aligned with the wrapper they're actually using.
  • Results include TypeScript enum member names, not HTML attribute values. See Enum props below.

Enum props

bridgable_query returns the TypeScript enum member name, not the string value the HTML attribute expects. They often diverge:

ComponentMember name (in docs)Actual attribute value
obc-toggle-button-option typeiconTexttext-icon
Many variant propsinCommandin-command

When a prop's type looks like a TS enum (capitalized name, camelCase tokens), either:

  1. Check the component's dist/<path>/<file>.js source for the literal string values.
  2. Use the framework wrapper and pass the value as a typed prop — TypeScript will narrow it to the correct string.

Never copy a CamelCase enum member straight into an HTML attribute.

Example

Your agent might call:

bridgable_query("obc-alert-menu-item props events", framework="react")

And receive structured JSON with the component's full API surface.

On this page