AI Visibility Tracking ToolFree checker

Tool use (function calling): definition and why it matters for AI visibility

99Visibility Research · Updated October 21, 2026 · 4 min read

Short answer

Tool use (also called function calling) is when a language model asks the software around it to run an external function, such as a web search or a page fetch, and then reads the result before answering. The model usually decides whether to call the tool. When it skips the call, the answer comes only from what it learned in training, frozen at its knowledge cutoff.

Key takeaways

  • Tool use means the model requests an external function, the application runs it, and the result goes back into the model's context.
  • On most AI surfaces the model, the user or the developer decides per query whether search runs, so no brand can force a search call.
  • An answer given without a search call comes from training data alone, and nothing a publisher changes this quarter reaches it.
  • When search does run, access is what you control: crawler permission, firewall reachability and content that exists in the raw HTML.

What tool use means

A language model on its own can only produce text from what it learned in training. Tool use lets it reach outside that. The developer describes a set of functions (search the web, fetch a URL, query a database), and the model can respond with a structured request to call one instead of a final answer.

The model does not run the function itself. The application does, then hands the output back. "Function calling" and "LLM tools" are different names for the same pattern. For the search-specific version, see the entry on the web search tool.

How tool use works

A typical loop has four steps:

  1. The model receives the user's question plus a list of available tools.
  2. It decides whether a tool would help. If yes, it emits a call with arguments, such as a search query.
  3. The application runs the call and returns results, which land in the model's context window.
  4. The model writes its answer from that context, sometimes calling more tools first.

The query the model sends is often not the user's words. OpenAI's help page says ChatGPT search typically rewrites a question into one or more targeted queries. Google's Gemini API docs say grounding automatically generates one or more search queries and runs them.

Who decides whether search runs differs by surface, as of October 2026. ChatGPT search is model-discretionary. On Claude, the model decides and the integrator's system prompt steers it, and Claude.ai search is a user toggle. Perplexity's Agent API requires developers to opt web search in, per its migration docs. Anthropic's web search tool documentation shows what a result looks like: a URL, a title, a page age and short cited text spans.

Why tool use matters for AI visibility

Every AI answer about your brand falls into one of two cases.

No tool call: memory only

The model answers from training data. That knowledge stops at a cutoff. OpenAI lists a February 16, 2026 cutoff for the GPT-5.6 family and August 31, 2025 for the chat-latest Instant path. A product launched after the cutoff does not exist in that answer, and old pricing stays old. Nothing you publish now changes it until a future model is trained.

Tool call made: retrieval

Now your site can enter the answer, but only if it passes access checks first. For ChatGPT search, OpenAI says a site must allow OAI-SearchBot in robots.txt and must let traffic from its published IP ranges through the host or CDN. Content that only appears after JavaScript runs may be invisible to most AI crawlers. Even after retrieval, which results get used depends on factors like position bias that no publisher controls.

This split also affects measurement. Any single visibility number averages answers given with and without search. It's worth asking whether a tool tests the same models and settings people use.

Common misconceptions

  • "AI assistants always search." They don't. Search fires per query, and on several surfaces the model chooses. Perplexity code left on Sonar past its September 27, 2026 retirement can return ungrounded answers without any error.
  • "A cited source is the source that shaped the answer." OpenAI's API returns retrieved sources separately from citations, and the retrieved set is often larger. Citation and influence are different things, which is one reason citations sometimes don't support the claim.
  • "You can write content that makes the model call search." No published evidence shows a publisher lever on that decision.
  • "Allowing GPTBot gets you into ChatGPT search." GPTBot governs training only. OAI-SearchBot governs search, and OpenAI says each setting is independent.

Frequently asked questions

Is tool use the same thing as function calling?

Yes. Vendors use different labels for one pattern: the model emits a structured request, the application executes it, and the output returns to the model. "Tool use", "function calling" and "LLM tools" all describe that loop. Web search, URL fetch and code execution are common built-in tools, and developers can define their own.

Can I make ChatGPT search the web when someone asks about my brand?

No. The decision belongs to the model, the user or the developer, depending on the surface. What you control is what happens if search does run: allow OAI-SearchBot in robots.txt, confirm your CDN or firewall doesn't block OpenAI's published IP ranges, and make sure key facts like pricing sit in the HTML before JavaScript runs.

How can I tell whether an AI answer used search?

Visible citations or source links are the clearest sign that a search tool ran. Without them you can't be sure, because the answer may come from training data alone. In API testing you can switch search on or off explicitly and compare the two answers, which shows how far the memory-only version has drifted from your current facts.

Does a search call guarantee my page is used?

No. A search call only gives your page a chance to be retrieved. Your site must be reachable and indexed first, and then the model picks which retrieved results to use and cite. OpenAI's own docs note that the list of sources consulted is often longer than the list of citations shown to the user.

Sources

  1. Searching the web with ChatGPT
  2. Web search tool - Claude Platform Docs
  3. Grounding with Google Search | Gemini API | Google AI for Developers
  4. Migrate from Sonar to the Agent API - Perplexity
  5. Overview of OpenAI Crawlers
  6. The rise of the AI crawler - Vercel

This page is AI-assisted. It was written from a verified evidence base and checked against our editorial policy. Engine behaviour changes often; facts are as of October 21, 2026.

Keep reading