Earlier quoted context omitted.
The API response actually contains the full HTML to include.
I'm not quite sure how I should handle that in my CLI tool!
Web search on the Anthropic API
61–65 of 65 posts
Re: Web search on the Anthropic API
#62Earlier quoted context omitted.
> Google's pricing for a general search API As I discovered recently, and much to my surprise, Google does not offer a "general search API", at least not officially. There is a "custom search" API that sounds like web search, but isn't: it offers a subset of the index, which is not immediately apparent. Confusing and misleading labeling there. Bing offers something a bit better, but I recently ended up trying the Kag…
Do you have any references to the point that the Google Custom Search API is for a subset of the regular Google search index?
Try it and you'll see — there is no official Search API and the Custom Search API is quite poor and not usable in most scenarios.
Re: Web search on the Anthropic API
#63Re: Web search on the Anthropic API
#64Setting the allowed url to "youtube.com" results in tool usage failing (up to max_calls times). Does this mean there are certain sites that the search tool simply can't access?
Even if you search for videos on a topic with hundreds of highly relevant YouTube videos, and explicitly ask it to find YouTube videos, it still says it found other relevant stuff, but not YouTube videos.