Search the web
search_webFast search: answers a question from the live web in seconds. Suited to one fact, or to the first rows of a list before the full table is priced. Returns kind (fact or list), the answer with the page it was read from, rows with each result's name and the facts the request asks for, each value with its page, the search results read (sources), took_ms and request_id. num (1 to 100) sets how many sources come back and page (1 to 10) continues the same list; next_page names the next page. For a list, handoff names the estimated rows and the next steps, a compiled request and a quote for the full table. A call of up to 10 results takes $0.005 from the account's balance; each started block of 10 more results adds $0.006. It needs no quote or approval. A full list is run from a compiled request and its quote, not from this search.
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": {
"q": "<q>"
},
"name": "search_web"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The question or the request in everyday words, in any language | |
| num | No | The number of results (sources) to return, 1 to 100. Without num or page, the reply holds every result the answer read. When the first search finds fewer, SpecStream searches deeper (more engines and their next result pages) before it answers. A call of up to 10 results is $0.005; each started block of 10 more results adds $0.006 (num=100 is $0.059). | |
| page | No | The page of results to return, 1 to 10, num results each (10 without num). Page 2 continues the same list as page 1. The answer and the rows are on page 1 only. next_page in the reply names the next page, or is null when the engines found no more. | |
| speed | No | fast gives the search results in about a second: the first engines' results with their snippets, each with the time it was read (read_at), with no answer, rows or passages; num and page past the first 10 results come from the engines' own later pages. default also reads the results for the answer and its rows. | |
| passages | No | Also return the text of the top pages closest to the request, each with its page, so a caller sees the evidence without reading a page |