High-Entropy Boolean & Semantic Search Query Expander
expand_search_queriesGenerates targeted Boolean queries, semantic synonym variations, and sub-question expansions from an ambiguous prompt. Use when overcoming query vocabulary mismatches and expanding search recall across academic, code, or patent databases; for scoping queries to domain categories, use filter_domain_intelligence instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'base_query' ('expansion_strategy' defaults to 'boolean_operators'), supports '?demo=true' or L402 (10 sats), and returns HTTP 400 if invalid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_query": "<base_query>"
},
"name": "expand_search_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_query | Yes | Initial search prompt or ambiguous question requiring semantic query expansion. | |
| target_count | No | Target count of query variations to synthesize. | |
| expansion_strategy | No | Query expansion method: Boolean operators, semantic synonyms, or cross-domain questions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original_query | Yes | Original user input query before expansion. | |
| expanded_queries | Yes | Array of synthesized search strings optimized for search engine indexing. | |
| intent_classification | Yes | Identified query intent (e.g., informational, transactional, technical_navigational). |