Set session goal (Jev pruning context)
browser_set_goalSet a session goal to focus browser snapshots; irrelevant regions collapse to one-line summaries, saving agent context tokens. Replace the goal anytime.
Instructions
Set the session goal. When Jev annotation is active, browser_snapshot regions irrelevant to this goal are collapsed to one-line summaries, saving agent context tokens. Call again to replace the goal.
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": {
"goal": "<goal>"
},
"name": "browser_set_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What this browser session is trying to accomplish. |