evaluate_script
Evaluate JavaScript expressions in a Firefox browser realm to aid reverse engineering and debugging. Specify expression, optional promise await, context, or realm.
Instructions
Evaluate a JS expression in a window realm of the active (or specified) context.
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": "evaluate_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| awaitPromise | No | ||
| contextId | No | ||
| realmId | No |