Mitm Execute Command
mitm_execute_commandRun allowlisted mitmweb commands on an active session to clear views, kill flows, or control traffic interception.
Instructions
Execute an allowlisted command on an active mitmweb session (e.g. view.clear, flow.kill).
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_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No | ||
| stdout | No |