Ask in plain English (NLWeb)
askNLWeb ask: a question in plain English, e.g. "English-speaking lawyer in Valencia for the non-lucrative visa" or "NIE appointment". Returns schema.org-typed results (LegalService, AccountingService, InsuranceAgency, MovingCompany, School, Article) in the NLWeb v0.55 answer format, each with url to cite. The question is read with word lists, not a model: for precise filters use search_listings, for multi-step questions use execute.
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 |
|---|---|---|---|
| meta | No | Protocol metadata, e.g. { version: "0.55" } | |
| query | Yes | The query: text plus optional site ("listings" or "guides") and itemType (a schema.org type) | |
| prefer | No | mode: "list" or "summarize"; response_format: "conversational_search" or "chatgpt_app" | |
| context | No | ConversationalContext: { prev: [earlier queries] } |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | Yes | ||
| error | No | ||
| results | No | ||
| structuredData | No |