search_page
Retrieve case-insensitive text snippets from any public URL by providing a query. Returns up to 20 markdown excerpts with configurable context.
Instructions
Use this when you need excerpts matching a query on a public page. It opens the URL, extracts text, and returns up to N case-insensitive snippets around the query. Returns markdown snippets.
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": {
"url": "<url>",
"query": "<query>"
},
"name": "search_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute HTTPS URL to open. | |
| query | Yes | Case-insensitive text to find. | |
| max_matches | No | Max snippets (1–20). Default: 8. | |
| context_chars | No | Characters of context on each side. Default: 160. |