frida_trace
Inject a Frida script into a target process for a bounded time to capture runtime output. Spawn or attach to an app, run custom JavaScript, and collect emitted data for reverse-engineering.
Instructions
Spawn or attach to a process, inject a Frida script, and capture whatever it emits within a bounded time window (this isn't a real interactive Frida session - it runs the script, waits, then stops it). Requires frida-tools + a matching frida-server on the device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default spawn | |
| script | Yes | Raw Frida JavaScript to inject | |
| target | Yes | Package name (spawn mode) or PID/process name (attach mode) | |
| workspace | No | Workspace name (not id) - created automatically if it doesn't exist yet. Defaults to "default". | |
| deviceSerial | No | ||
| timeoutSeconds | No | Default 15, capped at 60 |