search_and_fetch
Search the web and fetch top result pages in a single call, reducing agent round trips while returning per-page errors alongside successful content.
Instructions
Search the web and fetch the top results in one call.
This convenience tool reduces agent round trips. Individual fetch failures are returned beside successful pages instead of failing the whole operation.
Args: query: A concise search query. Do not include secrets or confidential data. max_results: Number of search results to return, from 1 to 10. fetch_top: Number of top result pages to fetch, from 1 to max_results.
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": "search_and_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| fetch_top | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||