dev_eval
Run JavaScript in the Unflick window and get the evaluated result back, letting you handle cases the other five verbs don't cover.
Instructions
Run JavaScript in the unflick window and get back what it evaluated to. Either an expression or statements with an explicit return. The escape hatch for what the other five verbs do not cover — prefer them where they fit, because they report their own refusals in terms of the page.
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": "dev_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | JavaScript to run. | |
| timeout_seconds | No | How long to wait for an answer. Default 5. |