Skip to main content
Some provider endpoints support hosted web search. In an OpenAI-compatible Planck request, enable it with a plugins entry whose id is web.
Web search is endpoint-specific. Check supportedPlugins or supportsWebSearch in the model response before sending the request. A model route that does not advertise the web plugin may reject it.

Quickstart

This example locks routing to the Anthropic endpoint because the plugin is a provider capability.

Plugin options

allowed_domains and blocked_domains are mutually exclusive in most provider implementations; send only the restriction your application needs.

Citations and usage

Search-enabled responses can include URL citations in message.annotations. Provider usage can also include server_tool_use.web_search_requests. Treat both fields as optional because their presence depends on whether the model searched and on the selected compatibility route. Web search charges are provider-specific and are added to token usage. Review the selected endpoint in the model registry before enabling it in production.