deep_research
Gather multi-source research across web, news, and academic providers, then generate a plan, run a session, and fetch the final report.
Instructions
Deep research over multiple sources (parallel, exa, tavily, tinyfish, linkup, you, gemini_web, grok_web, chatgpt_web); may take minutes. gemini_web and chatgpt_web first return a research PLAN plus a session: pass that session with query "start" to run it, or with a revised request to replace the plan. gemini returns the finished report in the same call; chatgpt runs ~5-30 min after "start" — call again with the returned session to fetch the report (model is ignored there). Knobs: topic, recency, domains, depth ("deep" is slower/pricier). Provider-specific extras → call usage(provider=…).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Absolute paths of local files/images to attach and ask about. Local stdio only; hosted HTTP rejects file inputs because it cannot access the caller's filesystem. Web providers only; defaults to grok_web when no `provider` is forced. | |
| mode | No | Provider-specific mode. grok: "auto"/"fast"/"expert"/"heavy" (search defaults to fast, deep_research to heavy then expert); keenable "realtime"/"pro"; nimble "standard". | |
| depth | No | Depth: "standard" (default) or "deep" — deep is slower and may spend a paid balance (exa deep-reasoning, parallel core processor, linkup/you deep effort, grok heavy). | |
| model | No | Web-provider model and/or thinking level. Call usage with that provider for available names and levels; omit to use its default. Ignored by the API providers. | |
| query | No | The search query (or a follow-up message when `session` is set). Optional only when polling a running deep-research `session` for its report. | |
| topic | No | Research niche: "web" (default), "news", or "academic" — steers to a fitting backend. | |
| domains | No | Restrict to these domains; prefix one with "-" to exclude it (e.g. ["nature.com","-reddit.com"]). | |
| recency | No | Recency filter: "day"/"week"/"month"/"year" or an ISO date (e.g. "2024-01-01"). | |
| session | No | Resume token from a previous web-provider result; continues that conversation on the same provider. Web providers only. | |
| provider | No | Force a specific provider instead of the priority order. | |
| max_results | No | Maximum number of results (default 5, capped at 20). |