style_eval
Run custom JavaScript expressions in the browser to verify computed styles, locate elements, and interact with the page for precise CSS validation.
Instructions
页面内执行 JS 表达式(高级;优先其它工具)。
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": "style_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 按 style_tabs 的 index 选标签 | |
| expression | Yes | ||
| urlIncludes | No | 选 URL 包含该串的标签 | |
| titleIncludes | No | 选 title 包含该串的标签 |