wavexis_eval
Evaluate a JavaScript expression in a live browser page and receive the result as JSON. Optionally navigate to a URL first, or target an existing session for page-specific testing.
Instructions
Evaluate a JavaScript expression in the browser context and return the result.
Use wavexis_scrape when the same expression must run across many
pages, or wavexis_act for natural-language interaction instead of
raw JS.
Side effects: launches/acquires a browser backend, navigates to url
if provided, executes arbitrary JS in the page (may trigger network
requests or DOM mutations).
Returns: JSON string with keys: 'status' ('ok'/'error'), 'result'
(Any), 'type' (str).
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": {
"input": "<input>"
},
"name": "wavexis_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |