load_capture
Register a local PCAP or PCAPNG capture file for analysis. Provide a unique capture ID and file path to prepare it for subsequent packet inspection.
Instructions
Register a local packet-capture file for subsequent analysis.
Call this before using tools that accept capture_id. The server stores
the resolved path and file metadata in memory, but does not copy, modify, or
keep the capture open. Loading an existing ID is idempotent and reports
already_loaded.
Args:
capture_id: Non-empty session-unique name chosen by the caller, such as
office_wifi. Leading and trailing whitespace is removed.
file_path: Local path to an existing .pcap or .pcapng file that
is accessible to the MCP server process.
Returns: Load status, normalized capture ID, resolved path, file name, and size.
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>",
"file_path": "<file_path>"
},
"name": "load_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| capture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||