get_sub_domains
This is Anysearch's domain discovery tool. IMPORTANT: Step 1 of vertical search. REQUIRED before any search that uses a domain. Returns valid sub_domains and sub_domain_params for the specified domain(s).
Call this when the query targets a specialized vertical or needs structured parameters: stock prices, financial data, academic papers, legal cases, medical/drug info, flight status, weather, exchange rates, geographic POIs, code repositories, or any domain where a structured identifier (ticker, DOI, CVE, IATA, coordinates) is involved.
When to call ā pick the domain(s) that match what the user is asking about:
academic agriculture business code energy environment film finance gaming health ip legal resource security social_media travel
Input ā choose from the list above and pass via the domain or domains parameter:
domain: single domain string (use only when 100% certain the query is single-domain)
domains: batch query for up to 5 domains in one call (takes priority over domain)
š ALWAYS prefer the domains (plural, array) parameter. Pass ALL potentially relevant domains at once ā even for seemingly single-domain queries, consider related domains:
Query about "cryptocurrency regulations" ā domains=["finance", "legal", "security"]
Query about "best gaming laptops" ā domains=["gaming", "tech", "ecommerce"]
Query about "climate change impact on agriculture" ā domains=["environment", "energy", "academic"]
Returns
Markdown table filtered to the specified domains: sub_domain | description | params
CRITICAL: How to use results
sub_domain is the PRIMARY routing key ā always pass it to search
params column shows available structured parameters ā pass them via sub_domain_params in search, NEVER embed in query
If multiple sub_domains returned (especially from multiple domains), use batch_search ā one query per sub_domain ā instead of multiple sequential search calls
Params marked (required) in the output MUST be passed when using that sub_domain in search. If a required param is not applicable to your query, pass it as an empty string (key: "") ā do not skip it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Filter by a single domain. Mutually exclusive with domains array. | |
| domains | No | Batch query for multiple domains in a single call. Takes priority over domain. Each item must be a valid domain value. Max 5. |