session_open
Spawns an iOS app via Frida, injecting agent and resuming execution. Optionally enables network capture (NSURLSession/TTNet) and attaches SpringBoard in parallel.
Instructions
Open long-lived Frida session (spawn-only on this stack). ALWAYS uses mode=spawn: kill → spawn suspended → inject agent → resume. mode=attach is ignored/forced to spawn unless FRIDA_MCP_ALLOW_ATTACH=1 (unreliable: touch/net). TikTok: after open, wait 3–5s before screen_snapshot. Never dump_tree/find_view. spawn restarts the process (login UI state may reset). captureNet=true installs NSURLSession + TTNet hooks before resume (launch traffic). withSpringBoard=true attaches SpringBoard in parallel (dual inject; App+SB concurrent RPCs).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Ignored: always spawn unless FRIDA_MCP_ALLOW_ATTACH=1 | |
| udid | No | ||
| bundleId | Yes | App bundle id, e.g. com.ss.iphone.ugc.Ame | |
| captureNet | No | If true, enable NSURLSession+TTNet capture before resume (spawn) | |
| netOptions | No | ||
| withSpringBoard | No | Attach SpringBoard in parallel with app open (dual session) |