Skip to content
mentoor

Provider-hosted tools

For engineers

Web search, code execution and file search tools that the provider runs for you: when to use them, what they cost and what they expose

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A tool call arrives as a tool_use block. Who runs it?

Choose one answer

Check yourself · 2 of 5

What does max_uses on a hosted web search tool control?

Choose one answer

Check yourself · 3 of 5

In a code execution result block, which field tells you the script failed?

Choose one answer

Check yourself · 4 of 5

A search result contains hidden text telling the model to leak data. What is this called?

Choose one answer

Check yourself · 5 of 5

A tool must read rows from your private Postgres database. Which kind fits?

Choose one answer

Topics

  1. Client tools versus provider-hosted tools5 min read · Who executes the tool, where its results appear in the response, how it is billed and what data leaves your system
  2. Grounding answers with hosted web search5 min read · Domain allow and block lists, a cap on searches per request, per-search pricing and the citations in the response
  3. Running analysis in the provider's code sandbox5 min read · Uploading files to a hosted container, reading its outputs and errors, and its network, time and cost limits
  4. Injection and data exposure in hosted tools5 min read · Untrusted web pages entering the context, data retention of uploaded files and eligibility for zero data retention

Start here

Helps to know first

110 questions · last verified 2026-12