Find exact text on a page
find_in_pageFind literal text in the extracted text of one approved public HTTPS page. Returns its source URL, matching line numbers, and untrusted excerpts with optional context.
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": "find_in_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Approved public HTTPS URL. | |
| query | Yes | Literal text to find. Whitespace is significant. | |
| maxMatches | No | Maximum number of literal matches to return. | |
| contextLines | No | Number of context lines on either side of each match. | |
| caseSensitive | No | Match the original letter case. |