Chrome Tools MCP Server

query_dom_elements

Input Schema

NameRequiredDescriptionDefault
selectorYesCSS selector to find elements
tabIdYesID of the Chrome tab to query

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "CSS selector to find elements", "type": "string" }, "tabId": { "description": "ID of the Chrome tab to query", "type": "string" } }, "required": [ "tabId", "selector" ], "type": "object" }