Skip to main content

parse_action

Function parse_action 

Source
pub fn parse_action(json_str: &str) -> Result<BrowserAction>
Expand description

Parse one tool call, e.g. {"action": "navigate", "url": "..."}.

Action names accept a short alias alongside the canonical name (title for get_title), since models reach for both.