Browser handoff

Pass browser work to the agent that can actually see it.

Action402 creates a structured handoff package for an external browser-capable agent. It does not click, type, screenshot, or claim a paid receipt for browser steps.

Request

Small JSON, explicit boundary.

Use the paid webhook route for machine-to-machine side effects. Use this handoff route only when another agent will perform the browser work.

curl /api/handoff/browser \
  -H "content-type: application/json" \
  -d '{
    "targetUrl": "https://example.com",
    "actions": [
      { "type": "navigate", "description": "Open the target page" },
      { "type": "verify", "text": "Check the expected success state" }
    ],
    "idempotencyKey": "handoff-001"
  }'