get_element_source
Retrieve the source location of React elements to identify where components are defined in code for debugging and analysis purposes.
Instructions
Get source location for an element
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_element_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element ID |