Instrument With Frida
instrument_with_fridaRuns a caller-authored Frida script against a selected process in attach or spawn mode, then detaches after the observation window for ephemeral instrumentation.
Instructions
Run one caller-authored Frida script against an explicitly selected process and detach when the observation window ends. The CLI and MCP share this ephemeral workflow; use MCP session operations for persistent sessions. Remote authentication is used only for this call and excluded from Evidence.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pid": 1234,
"mode": "attach",
"source": "send(Process.id);",
"device_id": "local",
"duration_ms": 1000,
"source_kind": "inline"
},
"name": "instrument_with_frida"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| argv | No | ||
| mode | Yes | Operation mode that selects the requested behavior. | |
| path | No | Local filesystem path used by this operation. | |
| remote | No | ||
| source | No | ||
| program | No | ||
| device_id | No | ||
| duration_ms | No | ||
| source_kind | Yes |