neko_evaluate
Execute JavaScript in the page context to trigger client-side handlers that clicks cannot activate. Returns evaluation result as JSON.
Instructions
Execute arbitrary JavaScript in the page context (page.evaluate()). Use this when neko_click cannot trigger a client-side handler, such as ASP.NET PostBack (WebForm_DoPostBackWithOptions). Returns the evaluation result as JSON.
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": {
"expression": "<expression>"
},
"name": "neko_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arg | No | Optional argument passed to expression (same as Playwright page.evaluate(expr, arg)) | |
| expression | Yes | JavaScript expression or code to execute in the page context |