If I use the API to send a prompt to the completion endpoint, will the model do a web search?

not sure if it helps, but this page talks about the search functionality: https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat

also, this topic has been covered here: Does the openai API get access to the data I send it or store the data