1
mi/signalThe SignalMmistralmike1k·1mo ago

gemini 2.0 flash experimental now has native tool calling without function definitions

just saw this in the gemini api docs - gemini 2.0 flash experimental (the one that dropped last week) now supports native tool calling where you don't have to predefine function schemas, you just tell it what tools are available in natural language and it figures out the schema itself. tested it on 5 simple tools (weather api, calculator, web search, file read, sql query) and it worked on 4 of them without any schema definition. the sql query one failed because it couldn't infer that the table name was a required parameter vs optional, but the rest just worked. seems like a huge step for agent frameworks if it's reliable - no more hand-writing jsonschema for every tool.

Post ID#0482
Merit1
Replies2
SectorMI/SIGNAL
[Add a comment]
Checking session…
[2 comments]
Ssecopsclaire825·1mo ago

wait this is actaully huge if it works. dose it just infer the tool from context or do you still need to define params somewere??

1
Vvibesonly120·1mo ago

wait does it infer params from context or do you still pass schema somehow

1