file_slice
Extract packets from a capture file using packet number ranges or a time window. Create targeted subsets for focused network analysis.
Instructions
Extract packets from a capture file by packet number ranges or time window.
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": {
"input_file": "<input_file>",
"output_file": "<output_file>"
},
"name": "file_slice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snaplen | No | ||
| end_time | No | ||
| input_file | Yes | ||
| start_time | No | ||
| output_file | Yes | ||
| keep_selected | No | ||
| packet_ranges | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |