Droost: Search
droost_search Read-only
Module: Droost SearchLexical (and, when configured, semantic) search over the indexed codebase — custom and contrib code, docs, Twig. The "where is this done" tool; follow hits with droost_symbol for structure.
Example call
{
"tool": "droost_search",
"arguments": {
"query": "views handler coordinates",
"limit": 3
}
}
Example response — captured live on this site
{
"success": true,
"message": "0 semantic hit(s), 0 symbol match(es).",
"data": {
"query": "views handler coordinates",
"semantic_enabled": false,
"embedding_error": false,
"dimension_mismatch": false,
"semantic": [],
"symbols": []
}
}
Searches the indexed codebase. Returns semantic matches (when an embedding backend is configured) and lexical symbol matches. Run "drush droost:search:index" first. Read-only.
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query (a concept, a symbol name, or a phrase)."
},
"limit": {
"type": "integer",
"description": "Max results per result set (default 10, max 50)."
}
},
"required": [
"query"
]
}
Droost