Files
cursor/projects/empty-window/mcps/cursor-ide-browser/tools/browser_search.json
ray zhou f71a5c59af ok
2026-05-29 11:21:40 +08:00

30 lines
1.1 KiB
JSON

{
"name": "browser_search",
"description": "Search for text on the current page, similar to Cmd+F / Ctrl+F. Highlights all matches, scrolls to the first match, and returns a screenshot showing the match in context along with the count and positions of matches found.",
"arguments": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The text to search for on the page"
},
"caseSensitive": {
"type": "boolean",
"description": "Whether the search should be case-sensitive. Defaults to false."
},
"navigateToMatch": {
"type": "number",
"description": "Navigate to a specific match by index (0-based). If not provided, navigates to the first match."
},
"clearHighlights": {
"type": "boolean",
"description": "If true, clears all search highlights without performing a new search. Use this to remove previous search highlights."
},
"viewId": {
"type": "string",
"description": "Target browser tab ID. If omitted, uses the last interacted tab."
}
},
"required": []
}
}