view_source
Open React component source code directly in your IDE for debugging and analysis. This tool helps developers inspect and edit component implementations by linking elements from React DevTools to their source files.
Instructions
Open element source in IDE (if supported)
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": "view_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element ID |