What is function calling?

Published . Updated .

Function calling: A way for a language model to ask the app it runs in to call a named tool, such as a web search, with arguments it chooses, then use the result in its answer.

OpenAI's documentation calls it function calling or tool calling and sets out the loop: the app describes its tools, the model asks for one, the app runs it and sends back the result, and the model writes the final answer.

A web search inside ChatGPT, Claude or Grok is a tool call, and the query is one of its arguments. Those arguments are what Only Fan Out reads, as how Only Fan Out works explains.

Read next

Sources

See the fan-out for your own prompts

Only Fan Out is a free Chrome side panel that lists the queries, fetched pages and cited pages behind each ChatGPT, Claude or Grok answer. Nothing leaves your browser.

Add to Chrome, it's free