find_source_for_selection
Locates source files for a selected UI element by searching the workspace. Returns ranked candidates with file paths, line ranges, and confidence scores.
Instructions
Searches the workspace for source files that likely define or render the selected UI element. Returns ranked candidates with file paths, line ranges, confidence scores, and match reasons. Can work with live Chrome selections or stored thread element_context.
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. |