memcp_filter_context
Filter context content by applying a regex pattern to include or exclude matching lines, enabling precise control over stored information.
Instructions
Filter context content by regex pattern.
Returns only lines matching (or not matching) the pattern.
Args:
name: Context name
pattern: Regex pattern to match lines
invert: If True, return lines that DON'T match the pattern
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| invert | No | ||
| pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |