frida_script_run_file
Execute a Frida JavaScript script on a target process, collecting 'send' messages. Supports attach or spawn modes for dynamic analysis.
Instructions
Run a Frida JS script against a process.
mode: 'attach' (default — process already running) or 'spawn' (start
a new process; pass full command in target).
Collects send(...) messages from the script and returns them.
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": {
"target": "<target>",
"script_path": "<script_path>"
},
"name": "frida_script_run_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| script_path | Yes | ||
| duration_seconds | No | ||
| mode | No | attach | |
| device_id | No | ||
| runtime | No | ||
| parameters | No | ||
| auto_perform | No | ||
| exit_on_error | No | ||
| kill_on_exit | No | ||
| output_file | No |