laserfiche_entry_search
Execute a raw Laserfiche query to find matching entries, returning entry IDs, names, paths, and total count.
Instructions
Run a raw Laserfiche search query and return matching entries.
Use when you can already express the search in Laserfiche syntax. Prefer
search_content when the question is about what documents say (it
returns the matched passages); search_natural when you need the
grammar and available template/field names first; search_by_name for
a simple name pattern.
Syntax: {LF:Name="Onboarding*"} name pattern; {LF:Basic~="phrase"}
content search over document text/OCR, fields, annotations and names
(,option="D" = document text only); {[Template]:[Field]="value"}
field match; {LF:LookIn="\Path"} folder scope; combine clauses with
& / |.
Returns entries (id, name, entry_type, full_path), total_count,
next_link. On failure returns {"mode": "error", "error": <slug>}
(server_error is common — this endpoint is fragile on some builds;
see docs/error-contract.md).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Laserfiche search expression. Each clause wrapped in braces and combined with `&` (AND) or `|` (OR). Quote string values with double quotes; escape inner quotes with `\"`. | |
| max_results | No | Page size. Defaults to LF_MAX_RESULTS_DEFAULT (25). Capped at LF_MAX_RESULTS_CEILING (typically 200). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||