# OpenWebSearch — Full Content > One API to search the web and scrape pages across providers. Choose the provider that fits each job and get every result in one standard format. This file bundles the full markdown of the OpenWebSearch documentation so a language model can ingest it in one fetch. For the link index and the integration guide, see [llms.txt](https://openwebsearch.ai/llms.txt). - **Primary site:** https://openwebsearch.ai - **API base URL:** https://api.openwebsearch.ai - **Generated:** 2026-12-02T02:47:33.832Z --- # OpenWebSearch API URL: https://openwebsearch.ai/docs OpenWebSearch is a unified gateway for web search and scraping across many providers. It fails over automatically if a provider cannot reach a resource or is down. It is accessible via REST API and MCP. **Base URL:** `https://api.openwebsearch.ai` | Method | Path | Purpose | | ------ | --------------- | ------------------------------------------------------------------------------------- | | `POST` | `/v1/search` | [Search the web](#web-search) through one provider, `auto`, or a fallback list. | | `POST` | `/v1/scrape` | [Scrape a page](#web-scraping) into Markdown through one provider or a fallback list. | | `GET` | `/v1/providers` | [Discover providers](#capability-discovery), result caps, and parameter support. | | `POST` | `/mcp` | Connect the [MCP server](#mcp-server) for `web_search` and `web_scrape` tools. | ## Quickstart Create an API key in the [dashboard](https://openwebsearch.ai/dashboard/) and export it as `OPENWEBSEARCH_API_KEY`. ```bash export OPENWEBSEARCH_API_KEY="ows_..." ``` Send it as an `Authorization: Bearer ows_...` header on every REST and MCP request. ### Search the web Send a query to `POST /v1/search`. Set `provider: "auto"` to let the gateway choose the search provider, or supply your own provider list. **fetch · typescript** ```typescript const response = await fetch("https://api.openwebsearch.ai/v1/search", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENWEBSEARCH_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ provider: "auto", query: "Interfaze structured extraction benchmarks", max_results: 10, }), }); if (!response.ok) throw new Error(`Search failed (${response.status})`); const { results, provider, usage } = await response.json(); ``` **requests · python** ```python import os import requests response = requests.post( "https://api.openwebsearch.ai/v1/search", headers={"Authorization": f"Bearer {os.environ['OPENWEBSEARCH_API_KEY']}"}, json={ "provider": "auto", "query": "Interfaze structured extraction benchmarks", "max_results": 10, }, ) response.raise_for_status() data = response.json() ``` **cURL · bash** ```bash curl https://api.openwebsearch.ai/v1/search \ -H "Authorization: Bearer $OPENWEBSEARCH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider": "auto", "query": "Interfaze structured extraction benchmarks", "max_results": 10}' ``` ### Scrape a page Send a URL to `POST /v1/scrape` with one provider or an ordered fallback list. The gateway returns the page as Markdown in `results[0].content`. **fetch · typescript** ```typescript const response = await fetch("https://api.openwebsearch.ai/v1/scrape", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENWEBSEARCH_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ url: "https://interfaze.ai/docs", providers: ["exa", "tinyfish"], }), }); if (!response.ok) throw new Error(`Scrape failed (${response.status})`); const { results } = await response.json(); const markdown = results[0]?.content; ``` **requests · python** ```python import os import requests response = requests.post( "https://api.openwebsearch.ai/v1/scrape", headers={"Authorization": f"Bearer {os.environ['OPENWEBSEARCH_API_KEY']}"}, json={ "url": "https://interfaze.ai/docs", "providers": ["exa", "tinyfish"], }, ) response.raise_for_status() results = response.json()["results"] markdown = results[0]["content"] if results else None ``` **cURL · bash** ```bash curl https://api.openwebsearch.ai/v1/scrape \ -H "Authorization: Bearer $OPENWEBSEARCH_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://interfaze.ai/docs", "providers": ["exa", "tinyfish"]}' ``` ### Coding agents and skills Install the published agent skill so a coding agent can integrate search and scraping. ```bash npx skills add https://openwebsearch.ai ``` To give an agent live search and scrape tools directly, connect the [MCP server](#mcp-server). ## Web search `POST /v1/search` queries one search provider, `auto`, or an ordered fallback list and returns ranked results in one schema. ### Search request Send a JSON body to `POST /v1/search`. Supply either `provider` or a non-empty `providers` list because search has no implicit default. | Parameter | Type | Required | Description | | ------------------ | -------- | ------------------------------ | -------------------------------------------------------------------------------------------- | | `query` | string | Yes | Non-empty search query. | | `provider` | string | Yes, unless `providers` is set | One search provider slug, or `"auto"` to choose the provider from the query. | | `providers` | string[] | Yes, unless `provider` is set | Ordered fallback list. Takes precedence over `provider`. | | `allow_fallbacks` | boolean | No | Enables fallback through `providers`. Defaults to `true` when multiple entries are present. | | `strict_params` | boolean | No | Rejects unsupported parameters instead of dropping them with a warning. Defaults to `false`. | | `max_results` | integer | No | Number of results to return. Defaults to `10` and is capped per provider. | | `country` | string | No | Two-letter ISO country code, such as `"us"`. | | `include_domains` | string[] | No | Restricts results to these domains. | | `exclude_domains` | string[] | No | Excludes results from these domains. | | `start_date` | string | No | Earliest publication date in `YYYY-MM-DD` format. | | `end_date` | string | No | Latest publication date in `YYYY-MM-DD` format. | | `recency` | string | No | One of `hour`, `day`, `week`, `month`, or `year`. | | `safe_search` | string | No | One of `off`, `moderate`, or `strict`. | | `provider_options` | object | No | Native provider fields keyed by provider slug. | ### Search response Every successful search returns the same top-level shape. `provider` always names the concrete provider that served the request, never `"auto"`. ```json { "id": "req-3f0c...", "provider": "exa", "query": "Interfaze structured extraction benchmarks", "results": [ { "title": "Deterministic tool calls and structured extraction — Interfaze", "url": "https://interfaze.ai/docs", "snippet": "Schema-backed structured extraction and deterministic tool calls for production workflows.", "content": "# Introduction\n\nThis guide will get you started and make your first request to Interfaze with the official Interfaze SDK, or any AI SDK that supports the Chat Completion API standard. ...", "published_date": "2026-08-02", "source": "interfaze.ai", "raw": {} } ], "usage": { "cost": 0.007, "results_count": 1 }, "warnings": [] } ``` | Field | Type | Description | | ---------------- | -------------- | ----------------------------------------------------- | | `title` | string or null | Result title. | | `url` | string | Canonical result URL. | | `snippet` | string or null | Short excerpt or description. | | `content` | string or null | Full text when supplied by the provider. | | `published_date` | string or null | Provider-supplied publication date. Never fabricated. | | `source` | string or null | Domain or source name. | | `raw` | any | Untouched upstream result object. | Any provider-supplied relevance score stays inside `raw` rather than a top-level field. `usage.cost` reports the billed USD amount, and `usage.results_count` reports the returned result count. ### Automatic provider selection Set `provider: "auto"` on `POST /v1/search` to route each query to the best-fit search index. The response bills at the serving provider's rate and reports that provider in `provider`. All portable search filters (`country`, `include_domains`, `exclude_domains`, `start_date`, `end_date`, `recency`, and `safe_search`) work with `auto`. Because routing happens at request time, any `param_unsupported` warning names the resolved provider. If a filter is a strict requirement, name an explicit provider instead. | Constraint | Behavior with `auto` | | ------------------ | -------------------------------------------------------------------------------- | | `max_results` | Capped at `10`. Higher values are clamped with a `max_results_clamped` warning. | | `providers` | `["auto"]` is valid, but `auto` cannot be combined with other slugs in the list. | | `strict_params` | Unsupported. Returns `400`. | | `provider_options` | Unsupported because the provider is unknown up front. Returns `400`. | ### Search providers Slugs are case-sensitive. Unrecognized slugs return `400`. | Provider | Slug | Max results | Best at | | ----------- | ------------ | ----------- | --------------------------------------------- | | Auto | `auto` | 10 | Routing each query to the best-fit provider | | Brave | `brave` | 20 | Independent broad-web and media search | | Exa | `exa` | 100 | People, companies, and semantic discovery | | You.com | `you` | 100 | Web and news search with page extraction | | Tavily | `tavily` | 20 | Fresh news and agent-ready research | | Perplexity | `perplexity` | 20 | Citation-backed, real-time answers | | Parallel | `parallel` | 20 | Token-dense excerpts for AI agents | | Valyu | `valyu` | 20 | Academic, financial, and proprietary data | | Apify | `apify` | 100 | Localized SERP features and rankings | | Octen | `octen` | 100 | Real-time and multimodal web search | | Linkup | `linkup` | 100 | Factual, source-grounded search for AI agents | | Context.dev | `contextdev` | 100 | Live web context with full-page content | ## Web scraping `POST /v1/scrape` reads one URL and returns its content as Markdown. It shares authentication, fallback chains, `strict_params`, `provider_options`, warnings, and errors with search. ### Scrape request Send a JSON body to `POST /v1/scrape`. Supply either `provider` or a non-empty `providers` list. `auto` is not available for scraping. | Parameter | Type | Required | Description | | ------------------- | -------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- | | `url` | string | Yes | Target page: an absolute `http` or `https` URL of up to 2,048 characters. | | `provider` | string | Yes, unless `providers` is set | One [scrape provider](#scrape-providers) slug. | | `providers` | string[] | Yes, unless `provider` is set | Ordered fallback list. Takes precedence over `provider`. | | `allow_fallbacks` | boolean | No | Enables fallback through `providers`. Defaults to `true` when multiple entries are present. | | `strict_params` | boolean | No | Requires providers to honor explicit settings. Defaults to `false`. See [Strict mode and requirements](#strict-mode-and-requirements). | | `only_main_content` | boolean | No | Strips navigation, headers, and footers. Defaults to `true`. | | `include_links` | boolean | No | Keeps inline links in the Markdown. Defaults to `true`. | | `render_js` | boolean | No | Executes page JavaScript before reading. Defaults to `false`. | | `effort` | string | No | `standard` or `advanced`. `advanced` selects a provider's higher-priced tier. Defaults to `standard`. | | `max_age_seconds` | integer | No | Maximum age for a provider's stored copy. Defaults to `172800` (2 days). `0` requests a fresh fetch when the provider supports it. | | `timeout_seconds` | integer | No | Total request deadline including fallbacks, from `1` to `300`. Defaults to `60`. | | `max_chars` | integer | No | Maximum page characters to return. Unlimited by default. | | `provider_options` | object | No | Native provider options keyed by provider slug. | ### Scrape response The scrape response mirrors search: `url` replaces `query`, `results` holds at most one entry, and Markdown arrives in `results[0].content`. `raw` holds provider metadata without repeating the page text, and the gateway may omit account metadata. MCP responses omit `raw`. ```json { "id": "req-161d...", "provider": "exa", "url": "https://interfaze.ai/docs", "results": [ { "title": "Interfaze Documentation", "url": "https://interfaze.ai/docs", "snippet": null, "content": "# Introduction\n\nThis guide will get you started and make your first request to Interfaze with the official Interfaze SDK, or any AI SDK that supports the Chat Completion API standard.\n\n## Models\n\n| Feature | interfaze-1 | interfaze-1.1-lite | ...", "published_date": null, "source": "interfaze.ai", "raw": {} } ], "usage": { "cost": 0.001, "results_count": 1 }, "warnings": [] } ``` When a provider reports a target `404` or `410`, the gateway stops the chain and returns `200` with empty `results` and a `target_not_found` warning. Timeouts, unreadable pages, and empty pages trigger fallback. The final provider can still return `200` with empty `results` without a `target_not_found` warning. If no provider can read the page, the gateway returns `502`. ### Scrape providers `POST /v1/scrape` accepts these 11 slugs. Each row shows the provider's support level for every unified scrape parameter. | Provider | `only_main_content` | `include_links` | `render_js` | `effort` | `max_age_seconds` | `max_chars` | | ------------ | ------------------- | --------------- | ----------- | -------- | ----------------- | ----------- | | `exa` | native | native | emulated | one_tier | unsupported | native | | `perplexity` | unsupported | always_off | emulated | one_tier | native | unsupported | | `parallel` | unsupported | always_on | emulated | one_tier | emulated | native | | `valyu` | unsupported | always_on | native | one_tier | native | native | | `apify` | always_on | always_on | native | one_tier | native | unsupported | | `you` | unsupported | always_on | emulated | one_tier | emulated | unsupported | | `tavily` | unsupported | always_on | native | native | unsupported | unsupported | | `octen` | unsupported | always_on | emulated | native | emulated | unsupported | | `linkup` | unsupported | always_on | native | native | unsupported | unsupported | | `contextdev` | native | native | emulated | one_tier | native | unsupported | | `tinyfish` | always_on | unsupported | emulated | one_tier | unsupported | unsupported | Scrape adds three support levels to the [shared discovery levels](#capability-discovery): | Level | Meaning | | ------------ | ------------------------------------------------------------ | | `always_on` | The provider always applies the setting and honors `true`. | | `always_off` | The provider never applies the setting and honors `false`. | | `one_tier` | The provider has a single extraction tier (`standard` only). | `emulated` on `render_js` means the provider chooses when to render JavaScript. `emulated` on `max_age_seconds` means the gateway maps the age limit to the provider's fetch policy. Check `warnings[]` for adjustments such as `param_clamped`. Octen rejects age limits below 300 seconds in strict mode. TinyFish treats the age limit as a preference. The gateway warns only about explicit caller settings that a provider cannot honor, never about unsupported defaults. `GET /v1/providers` publishes those defaults under `scrape.unsupported_defaults` (for example, Perplexity returns the whole page without links). ### Strict mode and requirements With `strict_params: true`, strict mode can skip a provider in a fallback list when it cannot honor an explicit setting or native option. The response may not warn about a skipped provider. If strict mode rejects all candidates, the gateway returns `400`. `render_js: true` and `effort: "advanced"` are always requirements, even when `strict_params` is `false`. Every reachable provider must support them (`allow_fallbacks: false` checks only the first enabled provider). If any reachable provider lacks a required capability, the gateway returns `400` before calling any provider. ### Freshness, timeouts, and cost - **No gateway cache:** The gateway does not cache scraped pages. Every scrape request routes directly to the provider chain. - **Provider freshness:** `max_age_seconds` passes or maps your age limit on providers that support it (default `172800`, 2 days). Check the [scrape providers table](#scrape-providers) and `warnings[]` for per-provider behavior. `max_age_seconds: 0` requests a fresh fetch when the provider supports it, but does not guarantee a live fetch or control upstream retention. - **Private and signed URLs:** Scrape queue messages keep the URL path and strip credentials, query strings, and fragments. Check each upstream provider's retention policy before you send a private or signed URL. - **Timeouts:** `timeout_seconds` covers the full request (default `60`, max `300`). The gateway caps each provider attempt at 30 seconds, leaving room for a fallback under the default budget. - **Pricing:** Scrape estimates apply to one page on one provider. Options such as `render_js`, `effort`, and native browser actions change the rate. With `provider_options.contextdev.sharedParams.actions`, Context.dev bills $4 per 1,000 pages. `usage.cost` reports the final USD charge, including billable earlier attempts in a fallback chain and billable `404` fetches. ## Shared behavior Both `POST /v1/search` and `POST /v1/scrape` share the same fallback chain, provider discovery endpoint, native option passthrough, warnings, and error envelope. ### Provider fallback Pass an ordered `providers` array to fail over automatically. **fetch · typescript** ```typescript const response = await fetch("https://api.openwebsearch.ai/v1/search", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENWEBSEARCH_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ query: "Interfaze deterministic tool calling", providers: ["exa", "perplexity", "brave"], allow_fallbacks: true, max_results: 5, }), }); ``` **requests · python** ```python import os import requests response = requests.post( "https://api.openwebsearch.ai/v1/search", headers={"Authorization": f"Bearer {os.environ['OPENWEBSEARCH_API_KEY']}"}, json={ "query": "Interfaze deterministic tool calling", "providers": ["exa", "perplexity", "brave"], "allow_fallbacks": True, "max_results": 5, }, ) ``` **cURL · bash** ```bash curl https://api.openwebsearch.ai/v1/search \ -H "Authorization: Bearer $OPENWEBSEARCH_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "Interfaze deterministic tool calling", "providers": ["exa", "perplexity", "brave"], "allow_fallbacks": true, "max_results": 5 }' ``` When another provider remains in the chain, the gateway fails over immediately on a timeout, transient error, unreadable page, or empty result. Only the last eligible provider retries. Invalid caller requests stop immediately with `400`, and the gateway never blends results from multiple providers. ### Capability discovery Call `GET /v1/providers` to inspect every enabled search and scrape provider, its result cap, and its parameter support levels (`native`, `emulated`, or `unsupported`). **fetch · typescript** ```typescript const response = await fetch("https://api.openwebsearch.ai/v1/providers", { headers: { Authorization: `Bearer ${process.env.OPENWEBSEARCH_API_KEY}`, }, }); const { providers } = await response.json(); ``` **requests · python** ```python import os import requests response = requests.get( "https://api.openwebsearch.ai/v1/providers", headers={"Authorization": f"Bearer {os.environ['OPENWEBSEARCH_API_KEY']}"}, ) providers = response.json()["providers"] ``` **cURL · bash** ```bash curl https://api.openwebsearch.ai/v1/providers \ -H "Authorization: Bearer $OPENWEBSEARCH_API_KEY" ``` Each entry lists search capabilities under `params` and scrape capabilities under `scrape`. TinyFish serves only `/v1/scrape`, so its entry has `max_results_cap: 0` and an empty `params` object. `auto` appears with `max_results_cap: 10` and `params: {}` because capabilities depend on the provider selected per query. ```json { "slug": "perplexity", "max_results_cap": 20, "params": { "country": "native", "include_domains": "native", "exclude_domains": "unsupported", "start_date": "emulated", "end_date": "emulated", "recency": "native", "safe_search": "unsupported" }, "scrape": { "params": { "only_main_content": "unsupported", "include_links": "always_off", "render_js": "emulated", "effort": "one_tier", "max_age_seconds": "native", "max_chars": "unsupported" }, "unsupported_defaults": ["only_main_content", "include_links"] } } ``` ### Provider-specific options Pass native upstream options under `provider_options.` on either `/v1/search` or `/v1/scrape`. The gateway pins its safety and cost controls after passthrough so callers cannot override them. **fetch · typescript** ```typescript const response = await fetch("https://api.openwebsearch.ai/v1/search", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENWEBSEARCH_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ query: "Interfaze structured extraction schema validation", provider: "exa", provider_options: { exa: { type: "fast", contents: { text: true, highlights: true }, }, }, }), }); ``` **requests · python** ```python import os import requests response = requests.post( "https://api.openwebsearch.ai/v1/search", headers={"Authorization": f"Bearer {os.environ['OPENWEBSEARCH_API_KEY']}"}, json={ "query": "Interfaze structured extraction schema validation", "provider": "exa", "provider_options": { "exa": { "type": "fast", "contents": {"text": True, "highlights": True}, } }, }, ) ``` **cURL · bash** ```bash curl https://api.openwebsearch.ai/v1/search \ -H "Authorization: Bearer $OPENWEBSEARCH_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "query": "Interfaze structured extraction schema validation", "provider": "exa", "provider_options": { "exa": { "type": "fast", "contents": { "text": true, "highlights": true } } } }' ``` The gateway forwards keys outside its documented catalog with a `param_unrecognized` warning, omits blocked or gateway-managed keys with a `param_unsupported` warning, and rejects either case under `strict_params: true`. `provider_options` cannot be used with `provider: "auto"`. ### Warnings Non-fatal adjustments appear in `warnings[]`: | Code | Meaning | | --------------------- | ----------------------------------------------------------------------------- | | `param_unsupported` | The provider cannot honor a requested parameter or option, so it was dropped. | | `param_unrecognized` | A `provider_options` key is undocumented and was forwarded unchanged. | | `param_clamped` | A numeric setting was adjusted to meet a provider limit. | | `max_results_clamped` | `max_results` exceeded the provider cap and was reduced. | | `domains_truncated` | A translated domain-filter list exceeded the provider limit. | | `recency_emulated` | `recency` was translated into an upstream date filter. | | `results_partial` | The provider returned partial page content. | | `target_not_found` | Scrape only: the target URL answered `404` or `410`, so `results` is empty. | ### Errors and rate limits All REST errors share one envelope: ```json { "error": { "message": "Human-readable description", "type": "invalid_request_error", "code": "invalid_request", "param": "query", "provider": "exa", "request_id": "req-3f0c..." } } ``` | HTTP status | Type | Typical cause | | ----------- | --------------------------- | ------------------------------------------------------------------------------------- | | `400` | `invalid_request_error` | Invalid JSON, parameters, dates, or provider slug. | | `401` | `authentication_error` | Missing or invalid API key. | | `403` | `permission_error` | Project is not allowed to make this request. | | `429` | `rate_limit_error` | Rate limit exceeded. Read `Retry-After` before retrying. | | `500` | `internal_error` | Unexpected gateway error. | | `502` | `provider_error` | Upstream provider failed or every fallback was exhausted. | | `503` | `service_unavailable_error` | No provider is available for the request, or a dependency is temporarily unavailable. | Every response carries a request identifier (`id` on success, `request_id` on errors). REST responses include `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` headers (`429` also sets `Retry-After`). ## MCP server OpenWebSearch also runs as a stateless Streamable HTTP [Model Context Protocol](https://modelcontextprotocol.io) server at `https://api.openwebsearch.ai/mcp`. Agents access both **web search** and **page scraping** on the same key and billing account. Every call uses `POST`. The server issues no `Mcp-Session-Id`, and `GET` or `DELETE` returns `405`. ### Connect a client Configure your MCP client with your `ows_` bearer token: ```json { "mcpServers": { "openwebsearch": { "url": "https://api.openwebsearch.ai/mcp", "headers": { "Authorization": "Bearer ows_..." } } } } ``` Direct HTTP calls must send `Content-Type: application/json` and `Accept: application/json, text/event-stream`. Responses are SSE-framed (`data:` lines). `Accept: */*` returns `406`. ```bash curl https://api.openwebsearch.ai/mcp \ -H "Authorization: Bearer $OPENWEBSEARCH_API_KEY" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "web_search", "arguments": { "query": "Interfaze deterministic tool calls", "max_results": 3 } } }' ``` ### Tools | Tool | Purpose | | ---------------- | ----------------------------------------------------------------------------------------- | | `web_search` | Search the web and return ranked results with snippets. Billed like `POST /v1/search`. | | `web_scrape` | Read one page and return Markdown. Billed like `POST /v1/scrape`. | | `list_providers` | List search provider caps, parameter support, option catalogs, and blocked options. Free. | - **`web_search`:** Requires `query` and accepts the portable search filters plus `providers` and `provider_options`. Omit `providers` to use the gateway's default fallback chain. - **`web_scrape`:** Requires `url` and accepts `providers`, `allow_fallbacks`, `only_main_content`, `include_links`, `render_js`, `effort`, `max_age_seconds`, and `timeout_seconds` (up to `50`). Omit `providers` to use the default chain (Exa, Perplexity, Valyu). For `effort: "advanced"`, name only providers that support it, such as `["tavily"]`. Use `GET /v1/providers` to inspect scrape support under `scrape.params`. The tool caps page text at 20,000 characters with a truncation marker and accepts no `provider_options`. - **`list_providers`:** Search catalog only (free, no credentials required). Pass `slug` for one search provider. It does not list scrape-only providers or scrape capabilities. ### Differences from REST | REST | Over MCP | | ----------------------- | ------------------------------------------------------------------------------------- | | `provider` (singular) | Omitted from the schema. Use `providers` (an array) when pinning a provider. | | `provider: "auto"` | Unavailable. Pass concrete slugs or omit `providers` for the default fallback chain. | | `strict_params` | Unavailable. Unsupported filters are dropped and reported in `warnings`. | | `providers` is required | Optional. Omitting it routes through the gateway's default fallback chain. | | `raw` and full text | `raw` is omitted and `content` is capped per result to protect agent context windows. | Every tool call returns both a text block and `structuredContent` with the same payload (`id`, `provider`, `query` or `url`, `results`, `usage`, and optional `warnings`). ### MCP errors and limits Tool-level errors return HTTP `200` with `isError: true` so the agent can read the reason and recover. This covers invalid arguments, invalid or unfunded keys, provider errors, and rate limits: ```text openweb web_search failed (429 rate_limit_error, retryable): Too many requests. Please try again shortly. — retry after 30s. ``` Omitting `Authorization` completely returns transport-level `401` with a `WWW-Authenticate` challenge. The server caps request bodies at 1 MB and JSON-RPC batches at 20 messages.