How are we making Tool vs Function decisions?

What is the choice being made when you rely on a Function to do Google searches versus using the Google Search tool?

I will often do it in a function if I am doing multiple searches in parallel (see the “multisearch google” function in deep researcher for an example), or if I’m doing specific transformations on the data after. But I think it really depends on your use case and how comfortable you are working in code—the block approach can go very far on its own!

In general, a lot of the block-level functionality that is available in custom functions is just there for convenience when it makes sense to use it, not necessarily because it is better or anything like that.

2 Likes