oc_browser_evaluate
Evaluate JavaScript in the active browser page and return a serializable result for scoped inspection, testing, or automation within an engagement.
Instructions
Evaluate JavaScript in the active page and return its serializable result.
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": {
"engagement_id": "<engagement_id>",
"session_id": "<session_id>",
"expression": "<expression>"
},
"name": "oc_browser_evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| argument | No | ||
| expression | Yes | ||
| session_id | Yes | ||
| engagement_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||