renef_reset
Resets a Renef session or performs a full device/server hard reset, clearing TCP state, restarting the Android server, refreshing ADB forwarding, and optionally redeploying binaries or killing an app.
Instructions
Reset the Renef session or perform a full device/server hard reset.
Modes:
session(default): Closes the local TCP connection and clears session state. Fast and safe.hard: Closes local session, kills target app (if specified/tracked), kills and restartsrenef_serveron the Android device, refreshes ADB port forwarding, optionally redeploys v0.4.0 binaries (renef_server+/data/local/tmp/libagent.so), and verifies withping.
Args: mode: Reset mode - "session" (default) or "hard" redeploy: (hard mode only) Re-push renef_server and libagent.so to device kill_app: (hard mode only) Package name or PID to force-stop/kill
Returns: JSON status with step-by-step reset results
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "renef_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | session | |
| kill_app | No | ||
| redeploy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |