stop_packet_capture
Terminates a running packet capture using its capture ID, halting network traffic collection and returning the stop status.
Instructions
Stop a running packet capture.
Args: capture_id: ID of an existing packet capture definition
Returns: dict: Stop result with keys: - status: "success" or "error" - message: Status or error message
Example: >>> result = await stop_packet_capture(1)
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": "stop_packet_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||