app_eval
Run JavaScript inside the connected app during development and return the JSON result; bridge and React Native objects are available for inspecting or controlling app state.
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 |