Search extension source code
search_source_codeSearch inside published extension source code. Premium plans only. Coverage is limited: only the latest version of each extension is indexed, only .js and .json files under 500KB, excluding locale files, and only Chrome, Edge, and Firefox. Report a negative result as "not found in the indexed subset", never as proof the string is absent.
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": {
"query": "<query>"
},
"name": "search_source_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional: restrict the search to one extension id. | |
| page | No | ||
| query | Yes | Literal string to find in source code. | |
| platform | No | Store to query: chrome (Chrome Web Store), edge (Microsoft Edge Add-ons), firefox (Firefox Add-ons), android (Google Play), or apple (Apple App Store). Defaults to chrome. | chrome |