parse_user_agent
Parse any User-Agent string to identify browser, OS, device type, and detect bots like Googlebot and GPTBot.
Instructions
Parse a User-Agent string into browser, OS, and device details.
Detects 7 browsers, 9 OS variants, device type (desktop/mobile/tablet), and 17+ known bots including Googlebot, GPTBot, and ClaudeBot.
Args: user_agent: The full User-Agent header value
Returns: dict with keys: is_bot, bot_name, browser, browser_version, os, os_version, device_type, cost_usd
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_agent | Yes |