create_pattern
Create a pattern to find or ignore network traffic streams by specifying search type, direction, and optional service port.
Instructions
Create a pattern.
action_type=FIND highlights matches; IGNORE deletes streams that match.
search_type: SUBSTRING (text), REGEX (Java regex), BINARY (hex bytes).
direction_type: INPUT (client→server), OUTPUT (server→client), BOTH.
service_port: scope to one service; leave None for all services.
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": {
"name": "<name>",
"value": "<value>",
"action_type": "<action_type>",
"search_type": "<search_type>",
"direction_type": "<direction_type>"
},
"name": "create_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | Yes | ||
| action_type | Yes | ||
| search_type | Yes | ||
| direction_type | Yes | ||
| color | No | ||
| service_port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| value | Yes | ||
| color | No | ||
| actionType | Yes | ||
| searchType | Yes | ||
| directionType | Yes | ||
| service | No | ||
| enabled | No |