browser_evaluate
Execute client-side JavaScript within a webpage context using a concurrent MCP server. Supports multiple browser instances for efficient script evaluation.
Instructions
Execute JavaScript code in the page context
Input Schema
Name | Required | Description | Default |
---|---|---|---|
instanceId | Yes | Instance ID | |
script | Yes | JavaScript code to execute |
Input Schema (JSON Schema)
{
"properties": {
"instanceId": {
"description": "Instance ID",
"type": "string"
},
"script": {
"description": "JavaScript code to execute",
"type": "string"
}
},
"required": [
"instanceId",
"script"
],
"type": "object"
}