page_eval
Run JavaScript inside the current dedicated browser page and return a JSON-serializable value, with a ten-second timeout and results truncated to 2000 characters.
Instructions
在当前页面里执行一段 JS(可 return 一个能转成 JSON 的值),只在专用浏览器的页面里,碰不到电脑上的文件。十秒超时,结果截到 2000 字。
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": {
"script": "<script>"
},
"name": "page_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes |