frida_compile_agent
Compile JavaScript/TypeScript Frida agents with dependencies using frida-compile for complex instrumentation tasks.
Instructions
Compile a Frida agent (JavaScript/TypeScript) using frida-compile. Useful for complex agents with dependencies.
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": {
"source_code": "<source_code>"
},
"name": "frida_compile_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_code | Yes | Source code content (TS/JS) | |
| output_filename | No | Output filename (e.g. 'agent.js') | agent.js |