rn_styles
Inspect merged style and props for a React Native testID, revealing the computed styles across the component chain.
Instructions
Resolved style and props for one testID, merged across the component chain. This is the computed-styles panel React Native never had. Styles from StyleSheet.create surface as registeredStyleId.
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": {
"testID": "<testID>"
},
"name": "rn_styles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testID | Yes | The testID to inspect. | |
| bundleId | No |