list_guide_files
List Norton Guide (.ng) files accessible to the server, with optional directory restriction.
Instructions
List Norton Guide (.ng) files available to the server.
Args: directory: Optional directory path to restrict the listing to. When omitted all configured guide directories are searched.
Returns: A sorted list of file-info dictionaries, each containing:
- ``path`` (str): Absolute path to the .ng file.
- ``name`` (str): Filename (without directory).
- ``size`` (int): File size in bytes.Raises:
FileNotFoundError: If directory is provided but does not exist.
PermissionError: If directory is outside the configured guide dirs
and allow_absolute_paths is False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |