grep_object_store
Search for a regex pattern within a stored object string and retrieve matching lines with surrounding context.
Instructions
Search for a regex pattern in a string stored in the object store.
Returns matches with surrounding context, similar to grep.
:param object_id: The id of the object to search in the format @obj_001.
:param pattern: Regular expression pattern to search for.
:param path: Navigation path to a nested string attribute (optional).
:param case_sensitive: Whether the search should be case sensitive (default: False).
:return: Matches with context, or a message if no matches found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_id | Yes | ||
| pattern | Yes | ||
| path | No | ||
| case_sensitive | No |