Mitm Filter Flows
mitm_filter_flowsFilter captured HTTP, WebSocket, TCP, or UDP flows by URL, method, content type, headers, or body using mitmproxy FlowFilter expressions, from a .mitm dump file or an active session.
Instructions
Filter flows using mitmproxy FlowFilter expressions (~u, ~m, ~c, ~b, ~h, ~d, etc.) evaluated either from a .mitm dump file or from an active session.
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": {
"params": "<params>"
},
"name": "mitm_filter_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| count | No | ||
| error | No | ||
| matched | No |