get_regex
Retrieve a specific regular expression from the firewall by providing its numeric ID.
Instructions
Get a single regex by numeric id.
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": {
"regex_id": "<regex_id>"
},
"name": "get_regex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | Yes | ||
| mode | Yes | ||
| id | Yes | ||
| service_id | Yes | ||
| n_packets | No | ||
| is_case_sensitive | Yes | ||
| active | Yes |