Skip to content
mentoor

Topic 2 of 5 · 3 min read

How assistants use search, files and connectors

Goal: Read a transcript and tell which parts came from a tool call and which from the model's own knowledge.

An assistant becomes more than a chatbot when it can call tools: it asks for a search, a file read or a calendar lookup, gets the result back, and then writes its answer using that result. The model still only writes text. The app runs the tool for it.

Check yourself · 1 of 3

In an assistant's tool call, who actually runs the web search?

Choose one answer

Why it matters

A reply that uses a tool is based on fresh, specific facts. A reply that does not is based on training. They can look the same on the screen. If you cannot tell which is which, you cannot judge how far to trust the answer.

How a tool call works

  1. You ask something the model cannot answer from memory, such as "What is on my calendar tomorrow?"
  2. The model writes a request in a set format, for example: search this phrase, or read this file.
  3. The app runs that request and sends the result back to the model.
  4. The model reads the result and writes the final answer.

Common tools in Claude, ChatGPT, Gemini and Copilot include web search, reading files you upload, running code to do maths or draw charts, and connectors to email, calendars and shared drives. Connectors let you grant access to your own accounts. A shared standard, the Model Context Protocol, is one way apps offer such connections.

How to see that a tool was used

  • Look for a label such as "Searched the web", "Read 3 files" or "Ran code". Most apps show these as steps you can open.
  • Look for sources: links or file names next to the claims.
  • Open the step. You can see the search words used and the text that came back.
  • No label and no sources usually means the answer came from the model alone.

Before and after

Before: "Is the 9:15 train still running?" The reply says "Yes, it should be on time." No search shown. This is a guess based on training.

After: The app shows "Searched the web" and cites the rail company's status page, which says "delayed 12 minutes". Now the answer rests on a source you can open.

What goes wrong

  • A tool ran, but the answer ignores it. The model can still add claims the result does not support. Check each claim against the source.
  • A poor search. The model picks bad search words or a weak page, and builds on it.
  • Access you did not mean to give. A connector to your whole drive lets the assistant read files you never wanted it to see. Grant the narrowest access that does the job.
  • Mixed answers. One reply can blend tool results with training guesses. Ask: "Which parts came from the search and which from your own knowledge?"

Examples

Reading a transcript

You: What changed in the refund policy this month?

Assistant (step: Read file refund-policy-v7.pdf): Section 4 now allows returns within 45 days.

Assistant: Most shops also ask for a receipt.

The 45 days came from the file. The receipt line has no source, so it is the model's own general knowledge and may not apply to this policy.

Asking for the split

After any research answer, try: "List each claim and mark it as from a source you opened, or from your own knowledge." The model's own marking is not perfect, but it points you at what to open and check.

Key points

  • A tool call is a request the model writes and the app runs, with the result handed back to the model.
  • Typical tools are web search, file reading, code execution and connectors to email, calendars and drives.
  • Labels such as Searched the web and cited sources are your signs that a tool was used.
  • One reply can mix tool results with the model's own guesses, so check each claim against its source.
  • Give a connector the narrowest access that does the job.

Common mistakes

  • Assuming every answer used a search because the app has a search feature.
  • Not opening the cited source to see whether it really says what the answer claims.
  • Connecting a whole mailbox or drive when one folder would do.
  • Trusting a confident calculation that the model did in its head instead of running code.

Check yourself · 2 of 3

Which sign best shows that an assistant's answer used a tool and not only its training?

Choose one answer

Check yourself · 3 of 3

An assistant reads your uploaded policy file and answers. One sentence in the answer has no source and is not in the file. What should you do?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic