The docs ( https://openrouter.ai/announcements/introducing-web-search-via-the-api ) say that the web search plugin adds the explanation of the search results and the actual search results to the system message.
This happens on the OpenRouter server side, where it passes info to exa and then adds it before calling whatever model you're using.
Is there a flag or something that makes it possible to log the exact message that was added? I'm trying to debug a web search prompt, but without seeing what it's actually searching for it's difficult.