searchForContext

fun searchForContext(query: String, includedCategories: Set<String> = JEEVES_INCLUDED_CATEGORIES): List<String>(source)

Searches markers by name or category, filtered to a set of included categories.

When query is blank, returns all markers in the included categories. Otherwise filters by case-insensitive substring match on name or category. Results are deduplicated and formatted for LLM tool responses.

Return

Formatted location entries sorted by relevance

Parameters

query

Search term (blank returns all in scope)

includedCategories

Only markers in these categories are returned