Find in Web Page
findSearch a given webpage for an exact phrase and retrieve compact context snippets around each match, making it easy to verify occurrences without reading the full page.
Instructions
Find a literal phrase in a page and return compact context windows around matches.
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>",
"pattern": "<pattern>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| pattern | Yes | ||
| max_matches | No | ||
| context_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| error | No | ||
| status | Yes | ||
| matches | No | ||
| pattern | Yes | ||
| source_id | No | ||
| total_matches | No |