Search within a page
search_pageFetch a webpage and return only the passages most relevant to a query using BM25 ranking; use it to search long pages or answer questions grounded in page content.
Instructions
Fetch a webpage and return only the passages most relevant to a query (BM25 ranked). Use this for long pages or to answer a specific question grounded in the page.
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 | The page URL, including http:// or https:// | |
| query | Yes | What to look for on the page. | |
| top_k | No | How many passages to return (default 5). |