get_element_context
Retrieve comprehensive UI element context including DOM, computed styles, and source code candidates to enable targeted modifications from live or stored selections.
Instructions
Returns a comprehensive summary of a UI element, including its DOM context, computed styles, and ranked source code candidates. Works with live Chrome selections or stored thread element_context. This is the primary tool to use when the user wants to modify a UI element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| correlationId | No | The correlationId of a specific selection. If omitted, uses the latest selection. | |
| thread_id | No | A Yocoolab thread ID to use stored element_context instead of a live selection. | |
| includePrompt | No | Whether to include a pre-built edit prompt with constraints (default: true). |