Home / MCP Tools / Browse Evaluate
Live MCP toolbrowser

Browse Evaluate

Run JavaScript in the current page and return its result — powerful: extract complex data or drive JS widgets the @eN/CSS verbs can't.

Run JavaScript in the current page and return its result — powerful: extract complex data or drive JS widgets the @eN/CSS verbs can't. Runs in the page's sandbox (not the host); navigation stays SSRF-guarded.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
browser_idstringrequiredfrom browse_open
jsstringrequiredJavaScript expression/IIFE to evaluate in the page

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "browse_evaluate", "arguments": {"browser_id": "example-id", "js": "example"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/browse_evaluate \
  -H 'Content-Type: application/json' \
  -d '{"browser_id": "example-id", "js": "example"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/browse_evaluate from your browser.

Related tools in Browser