Use the Conversations API (POST /v1/conversations) via the SDK for Pass 1 agent calls instead of /agents/completions which doesn't support built-in web search connectors. Pass 2 uses the SDK's ChatComplete method.