Tools reference
The server provides nine tools, always listed in the same order. Each one returns a short text summary for the model and a structuredContent object with the same data as fields. Known failures come back as a tool result with isError: true and an error code, so the agent can read what went wrong and act on it.
| Tool | Cost | Scope |
|---|---|---|
search_research |
Free | research:read |
list_providers |
Free | research:read |
estimate_research |
Free | research:read |
start_research |
Paid | research:write |
wait_for_research |
Free | research:read |
get_report |
Free | research:read |
attach_file |
Free | research:write |
cancel_research |
Free | research:write |
merge_research |
Paid | research:write |
Choosing providers
Section titled “Choosing providers”Tools that take providers accept either a preset name or a list of providers:
"balanced"[ { "vendor": "parallel", "offering": "ultra" }, { "vendor": "gemini", "offering": "standard" }]| Preset | Providers |
|---|---|
fast |
Parallel, Perplexity and You.com at their quicker tiers |
balanced (default) |
Parallel, Gemini, Perplexity and You.com |
thorough |
Parallel, Gemini, Perplexity and You.com at their deepest tiers |
Presets only include providers your account can run. Call list_providers for the exact tiers, prices and the recommended tier for each provider at each depth. A list can name up to 16 providers.
search_research
Section titled “search_research”Searches this account’s past research by question and report text, newest first. With no query, it lists the most recent research. Agents should call it before start_research, since the answer may already exist.
| Parameter | Type | Description |
|---|---|---|
query |
string, optional | Words to search for, up to 500 characters |
status |
string, optional | queued, running, completed, failed or cancelled |
limit |
integer | 1–20. Default 10 |
Returns results: each with research_id, question, status, created_at, charged_usd, providers and, for a text match, a snippet.
list_providers
Section titled “list_providers”Lists the providers and tiers this account can run, and the presets. No parameters.
Returns
providers: each tier’s label, expected and worst-case price, maximum minutes, and data terms (whether the provider may train on inputs, and whether its reports can be merged).presets: the providers infast,balancedandthorough.depths: the recommended tier for each provider at each depth.merge: whether synthesis merging is available, plus the synthesis models with their thinking levels and defaults.
estimate_research
Section titled “estimate_research”Returns the low, expected and worst-case cost for a set of providers, and optionally a merge. Nothing starts.
| Parameter | Type | Description |
|---|---|---|
providers |
preset or list | See Choosing providers |
merge |
object, optional | model, thinking, mode, instructions. See merge_research |
attachments |
string[], optional | File ids you’ll pass to start_research, so the totals include them |
Returns the cost per provider, the merge estimate if requested, and total, whose hold_usd is the worst case. Pass at least that as max_cost_usd to start_research.
start_research
Section titled “start_research”Starts deep research and returns at once with a research_id. Charges at actual cost when it finishes, never more than max_cost_usd. See Spending and limits.
| Parameter | Type | Description |
|---|---|---|
question |
string | The question, with the context providers need. Up to 15,000 characters |
providers |
preset or list | Default "balanced" |
max_cost_usd |
number | Required. Refuses to start if the worst case is above this |
attachments |
string[], optional | Up to 10 file ids from attach_file, sent to every provider |
merge |
object, optional | Merge the reports into a synthesis automatically when providers finish |
confirmed |
boolean, optional | Set to true only after the person approved a needs_confirmation cost |
Returns research_id, status, created (false if this was a retry of research already started), expected_usd, max_usd, providers, url (to follow it in the web app) and uri (the resource).
Errors needs_confirmation, declined, exceeds_max_cost, limit_reached, insufficient_credit, vendor_unavailable, attachment_not_found, insufficient_mergeable_vendors.
Clients that support the MCP tasks extension get a task back instead, and follow it with tasks/get. See Tasks.
wait_for_research
Section titled “wait_for_research”Waits for research (and any merge) to finish, for up to timeout_s seconds, then reports its status. If the client sends a progress token, the server sends progress notifications about every 10 seconds, such as “2 of 4 providers done”.
| Parameter | Type | Description |
|---|---|---|
research_id |
string | From start_research or search_research |
timeout_s |
integer | 0–45. Default 30 |
The 45-second maximum stays under the tool-call timeout of common clients. If research is still running, the result has done: false. The agent can call again, or carry on and check later.
Returns, when finished done: true, status, charged_usd, each provider’s state and charge, any merges, and reports: each with report_id, label, sources (citation count), a summary of about the first 300 words, and its uri. Also suggested_path, such as docs/research/2026-11-19-postgres-job-queues.md, for saving the write-up in the repository.
get_report
Section titled “get_report”Reads reports. Pass report_id for one report, or research_id for every report of a research.
| Parameter | Type | Description |
|---|---|---|
report_id |
string, optional | One report |
research_id |
string, optional | All reports of a research |
format |
string | summary (default), full or sources |
offset |
integer | For full: where to start. Default 0 |
max_chars |
integer | For full: 1,000–50,000. Default 20000 |
summary: the opening of each report.full: one report’s whole text, in pages. Ifnext_offsetisn’tnull, call again withoffsetset to it. The last page ends with the numbered sources.fullneeds a single report; with aresearch_idthat has several reports, the error lists their ids.sources: each report’s numbered citations with URL and title.
attach_file
Section titled “attach_file”Stores a file so it can be sent with research, and returns a file_id to pass in start_research’s attachments. The file is read straight away, so it’s ready to use.
| Parameter | Type | Description |
|---|---|---|
filename |
string | For example schema.sql or requirements.md |
text |
string, optional | The contents of a text, code or Markdown file |
content_base64 |
string, optional | The bytes of a PDF or image, base64-encoded |
mime_type |
string, optional | Required with content_base64: application/pdf, image/png, image/jpeg or image/webp. For text: text/plain or text/markdown |
Pass exactly one of text or content_base64. Files can be up to 2 MB; for larger files, upload them in the web app, or attach just the relevant part. Providers receive text, up to 200,000 characters per file. For an image, or a scanned PDF of up to 5 pages, Claude transcribes its text and describes what it shows, and providers receive that; the result’s note says so. Images over 5 MB and longer scanned PDFs aren’t read.
Every provider reads what’s attached, so the server refuses files that appear to contain private keys, API keys or tokens (contains_secret). See Security.
Returns file_id, filename, mime_type, size_bytes, text_chars and any note about how the text was read.
cancel_research
Section titled “cancel_research”Cancels research that is queued or running. Providers that haven’t finished aren’t charged.
| Parameter | Type | Description |
|---|---|---|
research_id |
string | The research to cancel |
Returns research_id and its new status.
merge_research
Section titled “merge_research”Combines a research’s finished reports into one synthesis report, with citations checked against the source reports. The synthesis runs on a model through OpenRouter with zero data retention. Cost depends on the size of the reports and the model and thinking level.
| Parameter | Type | Description |
|---|---|---|
research_id |
string | The research to merge |
model |
string, optional | A synthesis model id from list_providers |
thinking |
string, optional | off, low, medium or high |
mode |
string, optional | comprehensive, executive or comparison |
instructions |
string, optional | What to focus on, up to 1,000 characters |
report_ids |
string[], optional | Only merge these reports (up to 16) |
max_cost_usd |
number, optional | Refuse if the worst case is above this |
confirmed |
boolean, optional | As for start_research |
Only reports from providers whose terms allow merging are included (list_providers shows which). Call wait_for_research afterwards; it waits for the merge too.
Returns merge_id, research_id, state, model, thinking, mode, expected_usd, max_usd and url.
Errors needs_confirmation, declined, no_mergeable_reports, invalid_merge_config, merge_unavailable, limit_reached, insufficient_credit.