who_renders
Identify all components that render a given component. Use this tool to trace which parent components depend on a specific component in your codebase.
Instructions
Reverse lookup: which components render the given component id (incoming renders edges)
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": "who_renders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Component node id (e.g. cmp:src/Foo.tsx#Foo) | |
| root | No | Repo root (defaults to cwd) |