find_source_for_selection
Identify ranked source files for a live UI selection or stored thread, so you know where the component lives; verify the top candidate before editing.
Instructions
Just the ranked source files for the current selection or a stored thread — for when you only need to know where the component lives. Heuristic: verify the top candidate before editing it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_source_for_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | No | Work from a stored comment instead of a live selection. | |
| selection_id | No | A specific selection by correlation id (see get_selection_history). Omit for the most recent. |