TECHNOLOGY

You Inference Router: client web tools need an actual client executor

In this article
THE QUICK TAKE

Declaring a client search tool produces an execution request; the client must actually retrieve evidence and return the correctly associated observation.

Assign an execution owner

A custom assistant can let the You.com router retrieve web evidence, or it can retain retrieval in its own application. Decide who runs each tool before declaring it. Otherwise the model can ask for a search that no component executes while the interface incorrectly reports that the web was checked.

Read the tool-type distinction

The Web Tools guide says web_search and web_extract are executed by the router, while client:web_search declares a function whose call returns to client code. These are different execution contracts, not alternate labels for the same completed search. Preserve the selected type with the request and subsequent observation.

Complete the client handoff

The Tool Calling guide describes returned tool_calls and sending results back using the associated tool_call_id. A client executor must validate arguments, perform its authorized retrieval, and retain the actual source data before continuing. A function name or a model-generated claim of execution is not evidence that retrieval occurred.

For a source-restricted assistant, the client can enforce its own URL policy at that execution boundary. Keep a blocked or failed request visible as its actual outcome. Do not synthesize a successful tool observation just to allow the conversation to proceed to a fluent answer.

Handle mixed ownership deliberately

The tool-calling guide describes requests containing both client functions and router web tools. A turn returned for a client function is a handoff point, so the application should not infer router web execution from the mere presence of those declarations. Keep observations grouped by the calls that actually occurred rather than by every tool listed in the request.

Preserve final source records

For router-run web retrieval, the web-tools guide documents web_results, including its final-chunk placement in streaming. Capture those sources separately from partial answer text. The quickstart also distinguishes router authentication from direct Search and Contents calls; a client executor must use the contract of the surface it actually calls.

The local guides to tool observations and task contracts help verify the boundary. Test a returned client call, a failed retrieval, and a router-run search. Each should leave an explicit executor and source outcome before the application claims a web-grounded answer.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles