neuron_evaluate_js
Evaluates JavaScript expressions inside a specific Chrome tab and returns the result. Use this to inspect or modify page state directly from your MCP client.
Instructions
Run JavaScript in page context and return the result
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": {
"tabId": "<tabId>",
"expression": "<expression>"
},
"name": "neuron_evaluate_js"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Chrome tab ID | |
| expression | Yes | JavaScript expression to evaluate |