body_search_guide
Find entries in Norton Guide files containing a search text anywhere in the body; returns the complete entry content.
Instructions
Search all entries in a Norton Guide for a query string anywhere in the body.
This is similar to line_search_guide but returns the entire entry content for any entry that contains a match, rather than just the matching lines.
The search is also done on the whole body, with lines joined using a space.
Args:
path: Absolute path to the .ng file.
query: The text string to search for.
case_sensitive: When True, the search is case-sensitive. Defaults
to False.
Returns: A list of match dictionaries. Each dictionary contains:
- ``offset`` (int): Byte offset of the matching entry.
- ``type`` (str): ``"short"`` or ``"long"``.
- ``lines`` (list[str]): Plain-text lines of the entry.Raises: FileNotFoundError: If path does not point to an existing file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | Yes | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |