find
Locate text in documents, returning page numbers, occurrence counts, and a snippet for each match.
Instructions
Locate text: page numbers, counts, and a snippet each. Never a 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": {
"source": "<source>",
"query": "<query>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| query | Yes | ||
| regex | No | ||
| source | Yes | ||
| max_hits | No | ||
| password | No |