search_collections
Full-text search across every collection you can see, in one call. Returns matching items each decorated with collection (which collection the hit came from) and url. Pair collection + id to fetch the full record via get_object. Call list_collections for the available collections and describe_collection on any one for its full property list; properties not flagged filterable there exist on objects but are not searched here (use get_object for the full record). For a single-collection search use search_collection instead — same query syntax, scoped tighter. Drafts are auto-hidden from anonymous callers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items returned in aggregate across all collections. Capped at 50 for MCP response-size budgets. | |
| query | Yes | Search terms. AND-semantics by default; use `or` between terms for OR; wrap phrases in double quotes. | |
| format | No | Output format for styledtext properties on the matched items. markdown is friendliest for AI consumption. | markdown |
| locale | No | BCP 47 locale tag. Accepted for forward-compat with the 3.6 i18n release — has no effect today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Matched objects across collections, each a flat field map decorated with `collection` (the source collection id) and `url`. Field set varies by collection. | |
| limit | Yes | Applied aggregate result cap. | |
| query | Yes | The query that was run. | |
| total | Yes | Number of items returned in aggregate. |