Hacker News new | ask | show | jobs
by nico 261 days ago
You can definitely build an agent and have it use tools like you mention. That’s the equivalent of making 2 requests to Gemini, one to get the initial answer/content, then another to get it formatted as proper json

The issue here is that Gemini has support for some internal tools (like search and web scraping), and when you ask the model to use those, you can’t also ask it to use application/json as the output (which you normally can when not using tools)

Not a huge issue, just annoying

1 comments

I think this might be also something to do with their super specific outputting requirements when you do use search (has to be displayed in predefined Google format).