filter_validate_capture
Validate a BPF capture filter expression for a specific interface, ensuring it compiles correctly based on the interface's link type.
Instructions
Validate a BPF capture filter expression for a specific interface. The interface is required because filter compilation depends on the link type.
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_filter": "<capture_filter>",
"interface": "<interface>"
},
"name": "filter_validate_capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | Yes | ||
| capture_filter | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |