decode_as
Apply a decode-as rule to a pcap file, reinterpreting packets with a chosen protocol dissector to troubleshoot misclassified traffic.
Instructions
Analyze a capture with a tshark decode-as rule.
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": {
"capture_path": "<capture_path>",
"rule": "<rule>"
},
"name": "decode_as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture_path | Yes | ||
| rule | Yes | ||
| fields | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||