Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

1.1 KB
Raw Blame
{
  "id": "054",
  "user": "download this image",
  "mode": "act",
  "tab": {
    "url": "https://example.com/photo.jpg",
    "title": "photo.jpg"
  },
  "latencyMs": 19231,
  "error": null,
  "firstToolCall": {
    "name": "execute_js",
    "args": {
      "code": "// Trigger download of the current image\nconst link = document.createElement('a');\nlink.href = window.location.href;\nlink.download = 'photo.jpg';\ndocument.body.appendChild(link);\nlink.click();\ndocument.body.removeChild(link);"
    }
  },
  "toolCallSource": "tool_calls",
  "finishReason": "tool_calls",
  "content": null,
  "usage": {
    "prompt_tokens": 18368,
    "completion_tokens": 349,
    "total_tokens": 18717,
    "cost": 0,
    "is_byok": false,
    "prompt_tokens_details": {
      "cached_tokens": 17408,
      "cache_write_tokens": 0,
      "audio_tokens": 0,
      "video_tokens": 0
    },
    "cost_details": {
      "upstream_inference_cost": 0,
      "upstream_inference_prompt_cost": 0,
      "upstream_inference_completions_cost": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 335,
      "image_tokens": 0,
      "audio_tokens": 0
    }
  }
}