search_global_source_elements
Filter elements in a global source by type, class, text, bindings, or events. Retrieve matching elements for storefront customization.
Instructions
Search/filter elements within a global source. No component param needed. Examples:
Find all buttons: type="button"
Find by class: custom_class="hero"
Find text: text="subscribe"
Data-bound only: has_bind=true
With events: has_events=true
With custom class: has_custom_class=true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Filter by element ID substring (e.g. 'TEXT', 'BUTTON-3') | |
| text | No | Filter by text content substring | |
| type | No | Filter by element type (e.g. 'text', 'button', 'image', 'container', 'section') | |
| limit | No | Max results (default 50) | |
| has_bind | No | Only elements with data bindings | |
| component | No | Component hint for faster lookup (e.g. "popup", "cart-droppable") | |
| has_events | No | Only elements with events | |
| custom_class | No | Filter by custom class substring | |
| global_source_id | Yes | Global source ID | |
| has_custom_class | No | Only elements with custom class |