app_eval
Run JavaScript inside a live Expo/React Native app during development and return the JSON result to inspect or control app behavior.
Instructions
Run JavaScript inside the app (dev only) and return the JSON result. Expression or statements with return. bridge and RN (react-native) are in scope.
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": {
"code": "<code>"
},
"name": "app_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |