Tool calls (function calling)

Tool calling (function calling) lets a model request the execution of a function described by a name and a parameter schema. The model does not run it itself: the application receives the request, checks the arguments, runs the function, and returns the result.

Example

{"name":"get_weather","arguments":{"city":"Lyon"}}

Related concepts

The whole glossary