get_capture_metadata
Inspect a loaded PCAP/PCAPNG to retrieve file format, timing, capture-host, and per-interface metadata.
Instructions
Inspect PCAP/PCAPNG container and capture-interface metadata.
Use this for file format, encapsulation, snap length, timestamp precision, capture origin, comments, time range, and per-interface information. The result comes primarily from Capinfos and does not return packet dissections.
Args: capture_id: ID of a currently loaded capture.
Returns: File, timing, capture-host, and interface metadata when available.
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_id": "<capture_id>"
},
"name": "get_capture_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||