snippets_loc
Assess a search result by locating query terms within a page, showing matches in braces with surrounding context and a citation URL.
Instructions
Show a query in context on one page.
The cheap way to judge a search result without downloading it: returns the matched terms in {braces} with the surrounding sentences, and a citation URL. Works for any page-level reference, but not for a whole item.
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": {
"reference": "<reference>",
"query": "<query>"
},
"name": "snippets_loc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Terms to locate within the page | |
| reference | Yes | Page reference, as returned by `search_loc` |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||