user_agent_parse
Parses a User-Agent header string to extract browser, operating system, device type, and rendering engine details. Use it to identify client capabilities from server logs or request headers without any network lookups.
Instructions
Parse a User-Agent header string into structured browser, OS, device type, and rendering-engine components. Use to identify client capabilities from a raw UA string, e.g. when analysing server logs or request headers; does not perform any network lookups — entirely local parsing. Runs synchronously using the ua-parser-js library with no external calls. Returns a JSON object with browser.name, browser.version, os.name, os.version, device.type, device.vendor, and engine.name fields; unknown fields are empty strings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ua | Yes | Full User-Agent header value as sent by the browser or HTTP client, e.g. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36". |