web_search, read_url, and research — so the agent picks the right one for the job: a quick fact lookup, a single-page extract, or a multi-step synthesis with citations. Use the lightest tool that meets your needs to keep latency and cost low.
CLI First
Tools
web_search
Real-time web search. Returns titles, URLs, and snippets — no page fetching.Parameters
When to use
- Quick fact checks
- Finding URLs to read in detail
- Getting recent news or pricing
- Time-sensitive information your training data might not cover
read_url
Fetch a webpage and extract the main text content. Optionally uses AI to focus on a specific topic.Parameters
When to use
- Reading a specific article after
web_search - Extracting structured data from a known URL
- Getting documentation or pricing from a product page
research
Deep research: runs one broad web search and synthesizes the returned sources into an answer with inline citations. Depth controls how many sources are gathered and how strong the synthesis model is — it does not fetch the pages themselves, so pair it withread_url when you need a full page body.
Depth Levels
An unrecognised
depth is rejected with invalid_input rather than being run
and billed as quick. An async job whose providers return no sources and no
synthesis is marked failed and costs nothing.
For thorough and exhaustive, you’ll get a 202 response with a job ID:
Choosing the Right Tool
- Quick answer needed
- Need detail from a specific source
- Comprehensive analysis
Use Cost: 0.2 credits. Time: ~1 second.
web_search → scan snippets for the answer.