pub fn required_str<'a>( input: &'a Value, field: &str, ) -> Result<&'a str, ToolError>
Helper to extract a required string field from JSON input.