search
Search for text in a web page, highlight matching occurrences, and return their positions. Optionally match case.
Instructions
在页面中搜索文本(Ctrl/Cmd+F 行为),高亮匹配项并返回位置信息。
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": {
"text": "<text>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | 要搜索的文本 | |
| matchCase | No | 是否区分大小写,默认 false |