dynamic_hook_network
Inject network interception hooks into a running iOS app to capture HTTP/HTTPS requests, WebSocket traffic, and API calls including headers and body data.
Instructions
Inject network interception hook into a running iOS app.
Hooks NSURLSession, CFNetwork, NSURLConnection, and WebSocket APIs to capture all network requests including URLs, headers, and body data.
Args: target: Bundle ID or PID of the target app device_type: Device type: 'usb', 'local', or 'remote' (default: 'usb') device_id: Specific device ID (optional) duration: Monitoring duration in seconds (default: 30)
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>"
},
"name": "dynamic_hook_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| duration | No | ||
| device_id | No | ||
| device_type | No | usb |