Check state
check_stateRetrieves the current route automatically, plus store state at an optional dot-path and recent errors, so agents can diagnose React Native app context in one call.
Instructions
One-shot: current route + store state (optional dot-path) + recent errors. The route is discovered automatically — the react-navigation container ref is found by walking the React tree, so no app-side setup is needed (globalThis.RNE_ROUTE / globalThis.RNE_NAV still take precedence when the app publishes them). If no navigator is found the route is null and the hint says why.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |