{"at":"2026-11-23T03:14:53.460Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:14:53.947Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T03:14:54.098Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:14:54.549Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"expo-mcp-bridge","version":"0.3.2"}}}}
{"at":"2026-11-23T03:14:54.549Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:14:54.549Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:14:54.554Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Check whether the mobile app is connected and show device info. Call first.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"app_status"},{"description":"Compact text outline of the current screen (buttons, inputs, text, lists) with refs like [e3] to act on. Prefer this over screenshots.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"maxLines":{"description":"default 400","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"name":"app_snapshot"},{"description":"Positions (dp, window coordinates) and font sizes of elements on the current screen. For layout checks and visual work; app_snapshot is cheaper for acting.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"description":"max elements, default 250","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"name":"app_layout"},{"description":"JPEG screenshot of the app. Use only for visual/layout questions; app_snapshot is cheaper for finding elements. With saveTo, writes the file and returns only its path (no image tokens).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"area":{"description":"auto (default) = visible screen; window = whole window incl. overlays","enum":["auto","window"],"type":"string"},"fullScroll":{"description":"capture the whole content of the main scroll view as one tall image","type":"boolean"},"maxWidth":{"description":"pixels, default 400","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"quality":{"description":"0-1, default 0.6","type":"number"},"saveTo":{"description":"file path (.jpg) to save instead of returning the image","type":"string"}},"type":"object"},"name":"app_screenshot"},{"description":"Run several actions in one call (fastest way to fill forms or walk a flow). Returns the screen once at the end. Steps: {action:\"tap\"|\"type\"|\"scroll\"|\"toggle\"|\"navigate\"|\"wait\"|\"dismiss_keyboard\", ...that tool's args}.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"full":{"description":"full screen instead of a diff","type":"boolean"},"snapshot":{"description":"report the screen afterwards (default true)","type":"boolean"},"steps":{"items":{"additionalProperties":{},"properties":{"action":{"type":"string"}},"required":["action"],"type":"object"},"maxItems":30,"minItems":1,"type":"array"}},"required":["steps"],"type":"object"},"name":"app_batch"},{"description":"Press a button/pressable element. Returns what changed on screen plus any new errors.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"full":{"description":"full screen instead of a diff","type":"boolean"},"long":{"description":"long press","type":"boolean"},"ref":{"description":"ref from the last snapshot, e.g. \"e4\"","type":"string"},"snapshot":{"description":"report the screen afterwards (default true)","type":"boolean"},"testID":{"description":"testID prop of the element","type":"string"},"text":{"description":"visible label/placeholder (exact match first, then contains)","type":"string"}},"type":"object"},"name":"app_tap"},{"description":"Set text in an input (replaces by default). Target by ref, testID, or placeholder text.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"append":{"type":"boolean"},"full":{"description":"full screen instead of a diff","type":"boolean"},"ref":{"description":"ref from the last snapshot, e.g. \"e4\"","type":"string"},"snapshot":{"description":"report the screen afterwards (default true)","type":"boolean"},"submit":{"description":"fire onSubmitEditing (like pressing enter)","type":"boolean"},"testID":{"description":"testID prop of the element","type":"string"},"text":{"description":"visible label/placeholder (exact match first, then contains)","type":"string"},"value":{"type":"string"}},"required":["value"],"type":"object"},"name":"app_type"},{"description":"Scroll a list/ScrollView (first one on screen if no target).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"amount":{"description":"pixels, default ~70% of screen","type":"number"},"direction":{"enum":["down","up","left","right","top","bottom"],"type":"string"},"full":{"description":"full screen instead of a diff","type":"boolean"},"ref":{"description":"ref from the last snapshot, e.g. \"e4\"","type":"string"},"snapshot":{"description":"report the screen afterwards (default true)","type":"boolean"},"testID":{"description":"testID prop of the element","type":"string"},"text":{"description":"visible label/placeholder (exact match first, then contains)","type":"string"}},"type":"object"},"name":"app_scroll"},{"description":"Flip a Switch (or set it with value).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"full":{"description":"full screen instead of a diff","type":"boolean"},"ref":{"description":"ref from the last snapshot, e.g. \"e4\"","type":"string"},"snapshot":{"description":"report the screen afterwards (default true)","type":"boolean"},"testID":{"description":"testID prop of the element","type":"string"},"text":{"description":"visible label/placeholder (exact match first, then contains)","type":"string"},"value":{"type":"boolean"}},"type":"object"},"name":"app_toggle"},{"description":"Open a route (expo-router path like \"/settings\") or a full deep link.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"full":{"description":"full screen instead of a diff","type":"boolean"},"path":{"type":"string"},"replace":{"description":"replace the current screen instead of pushing (keeps the stack shallow)","type":"boolean"},"snapshot":{"description":"report the screen afterwards (default true)","type":"boolean"}},"required":["path"],"type":"object"},"name":"app_navigate"},{"description":"Wait until text or a testID appears (or disappears with gone=true). Cheaper than polling snapshots.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"gone":{"type":"boolean"},"testID":{"type":"string"},"text":{"type":"string"},"timeout":{"description":"ms, default 5000, max 30000","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"name":"app_wait"},{"description":"Console logs and JS errors captured in the app.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"clear":{"type":"boolean"},"level":{"description":"\"error\" = errors only, \"warn\" = warnings and errors","enum":["log","info","warn","error","debug"],"type":"string"},"limit":{"description":"default 50","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"search":{"type":"string"},"since":{"description":"only entries after this cursor (returned as \"cursor\")","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"name":"app_logs"},{"description":"HTTP requests made by the app (fetch/XHR) with status, timing and truncated bodies.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"bodies":{"description":"include request/response bodies (default false)","type":"boolean"},"failedOnly":{"type":"boolean"},"limit":{"description":"default 30","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"search":{"description":"substring of URL","type":"string"},"since":{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"}},"type":"object"},"name":"app_network"},{"description":"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.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"code":{"type":"string"}},"required":["code"],"type":"object"},"name":"app_eval"},{"description":"Reload the JS bundle (like pressing r in Metro).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"app_reload"},{"description":"Hide the on-screen keyboard.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"app_dismiss_keyboard"},{"description":"Press a hardware/system key on an Android device via adb (USB or Wi-Fi debugging): volume_up, volume_down, mute, back, home, app_switch, enter, tab, delete, power, menu, escape.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"key":{"enum":["volume_up","volume_down","mute","back","home","app_switch","enter","tab","delete","power","menu","escape"],"type":"string"},"repeat":{"maximum":20,"minimum":1,"type":"integer"}},"required":["key"],"type":"object"},"name":"device_key"}]}}}
