tshark_decode
Decode specific packets with detailed protocol information for deep packet inspection using display filters and protocol selection.
Instructions
Decode specific packets with detailed protocol information. Useful for deep packet inspection.
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": {
"file": "<file>"
},
"name": "tshark_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the pcap file on the remote host | |
| filter | No | Display filter to select packets (optional) | |
| verbose | No | Show all protocol details (default: false) | |
| protocols | No | Specific protocols to show details for (e.g., ['http', 'tcp', 'ip']) | |
| packetNumber | No | Specific packet number to decode (optional) |