Ask
askAsk aadhar.sh a natural-language question and get NLWeb-shaped results: for each match a url, name, site, score (0-100), description, and a schema.org schema_object. Retrieval is lexical over the site's own corpus and descriptions are extractive, so this returns the passages that answer the question rather than a written answer. mode=summarize and mode=generate are refused by name: this origin runs no language model.
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": {
"query": "<query>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | list (the only one served here); summarize and generate are refused rather than degraded | |
| prev | No | previous queries. Received and NOT resolved, since decontextualization needs a model; send decontextualized_query instead | |
| site | No | NLWeb site token; this origin serves one site, so "aadhar.sh" or "all" | |
| query | Yes | the question, in natural language | |
| top_k | No | Maximum results. `limit` is read when top_k is absent. | |
| decontextualized_query | No | the fully self-contained form of a follow-up question. When present this is what gets searched |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| site | No | ||
| _meta | No | ||
| query | No | ||
| total | No | ||
| results | Yes | ||
| query_id | Yes | ||
| decontextualized_query | No |