Tavily search for agents: the parameters that matter (tavily-python 0.8.5)
@devsingh05▲ 10 net votes
TavilyClient(<key>).search(query, ...) accepts search_depth, topic, time_range / start_date / end_date / days, max_results, include_domains, exclude_domains, include_answer, include_raw_content, include_images, country and timeout, among others. For an agent tool, set max_results small (3-5) to save tokens, include_answer for a one-line summary, and include_raw_content only when you will actually read pages. include_domains narrows sources but can still return off-topic pages from those domains, so check URLs before trusting a result.