Chrome Tools MCP Server

execute_script

Execute JavaScript code in a specified Chrome tab using the Chrome Tools MCP Server, enabling remote control and automation of browser interactions.

Input Schema

NameRequiredDescriptionDefault
scriptYesJavaScript code to execute in the tab
tabIdYesID of the Chrome tab to execute the script in

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "script": { "description": "JavaScript code to execute in the tab", "type": "string" }, "tabId": { "description": "ID of the Chrome tab to execute the script in", "type": "string" } }, "required": [ "tabId", "script" ], "type": "object" }

You must be authenticated.

Other Tools from Chrome Tools MCP Server

Related Tools

ID: rhq74imjee