Phoenix currently does not support adding web-search as a tool in the prompt management UI or Playground; only function tools and custom tools are supported for tool calls. Replay of traces involving web-search is not possible because Phoenix's tool integration is limited to function-based tools, and web-search is not exposed as a selectable tool type in the UI or prompt schema <https://arize.com/docs/phoenix/prompt-engineering/overview-prompts|[source>, <https://arize.com/docs/phoenix/prompt-engineering/overview-prompts/prompts-in-code|source>, <https://arize-ai.github.io/phoenix/interfaces/_arizeai_phoenix-client.prompts_sdks_toOpenAI.ChatCompletionCreateParams.WebSearchOptions-1.html|source>].
There is no documented workaround to enable web-search as a tool or to replay traces with web-search in Phoenix as of now. You may monitor for future updates or request this feature via GitHub issues if it is critical for your workflow <https://arize-ai.github.io/phoenix/interfaces/_arizeai_phoenix-client.prompts_sdks_toOpenAI.ChatCompletionCreateParams.WebSearchOptions-1.html|[source>]. Would you like more detail on prompt tool configuration or trace replay limitations?
Sources:
- <https://arize.com/docs/phoenix/prompt-engineering/overview-prompts|https://arize.com/docs/phoenix/prompt-engineering/overview-prompts>
- <https://arize.com/docs/phoenix/prompt-engineering/overview-prompts/prompts-in-code|https://arize.com/docs/phoenix/prompt-engineering/overview-prompts/prompts-in-code>
- <https://arize-ai.github.io/phoenix/interfaces/_arizeai_phoenix-client.prompts_sdks_toOpenAI.ChatCompletionCreateParams.WebSearchOptions-1.html|https://arize-ai.github.io/phoenix/interfaces/_arizeai_phoenix-client.prompts_sdks_toOpenAI.ChatCompletionCreateParams.WebSearchOptions-1.html>