frida_cli_compile_bundle
Compile a Frida JS script to bytecode for faster injection via frida-compile, producing an optimized bundle that loads faster than raw JS.
Instructions
Compile a Frida JS script to bytecode for faster injection.
Shells out to frida-compile. Produces an optimised bundle that
loads faster than raw JS.
script_path: path to the source .js file.
output_path: optional output path (default: <script>.compiled.js).
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": {
"script_path": "<script_path>"
},
"name": "frida_cli_compile_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | ||
| output_path | No |