Run safe browser task
run_safe_browser_taskExecutes policy-gated, receipt-logged browser tasks via host-supplied browser and judgment adapters; standalone stdio calls fail closed until adapters are configured.
Instructions
Run a policy-gated, receipt-logged browser task (observe -> judge -> policy -> act -> verify completion). This standalone stdio server binds no browser or judgment adapter, so every call returns error AJV_E_REQUEST_INVALID (retryable=false) without touching a browser or writing receipts; embed the Python API aside_jav.run_safe_browser_task(request, browser, judgment) in a host to execute tasks. Use check_health to see whether adapters are configured.
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": {
"request": "<request>"
},
"name": "run_safe_browser_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Task request object. Allowed keys: run_id (unique id, [A-Za-z0-9][A-Za-z0-9._-]{0,127}), goal (must include a non-empty 'completion' list of exact rules {path, op: eq|set_eq|normalized_eq|exists|absent, expected}), allowed_actions, forbidden_actions, sensitive_classes, budgets, browser_context, metadata, secret_handles (vault://, keychain:// or secret:// handles only, never raw secrets), dry_run (boolean). Not inspected by this stdio server. |