Export Session Data
export-session-dataRetrieve a session's network data as PCAP or raw payload by providing its session ID. Saves the file locally and returns its path.
Instructions
Download a single session's data for a given session ID as a PCAP or raw payload (type: pcap | rawSource | rawDestination; default pcap). Saves the binary to a temp file and returns its path. Not available when scope=demo.
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": {
"session_id": "<session_id>"
},
"name": "export-session-data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Export format: pcap | rawSource | rawDestination (default: pcap) | |
| scope | No | Data scope: workspace (default) or demo | |
| session_id | Yes | The unique session identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| filePath | No | ||
| fileSize | No | ||
| available | No |