A successful chat proves only the chat route.Search does not call ctx.llm and deliberately does not inherit DEEPSEEK_BASE_URL.

Three facts must match.

Endpoint

Anthropic-compatible base; DSH appends /messages.

Credential

The referenced key must be valid for that exact hostname.

Native protocol

The gateway must run web_search_20250305 server-side.

Structured result

Return web_search_tool_result, not model prose or ordinary function output.

Choose one honest outcome.

OfficialDeepSeek search

Use its Anthropic base and an official key; account for a separate model turn.

Gatewayverified native search

Set base, model, and credential reference together.

Incompatibledisable or replace

Remove the tool boundary or install an audited ctx.web provider.

Contain a mismatched key.

Stop retries. If a gateway credential reached an unintended endpoint, follow the issuing provider’s rotation policy; never paste the secret into an incident report.

Primary evidence.

Prove the search route itself.

The complete runbook includes containment, durable request evidence, configuration overlays, protocol requirements, error routing, three deployment outcomes, and fifteen acceptance gates.

Read the complete runbook