All Questions
Agents And Tool Use easy

You are building a support agent with a 'lookup_order' tool. A teammate asks where the database query actually runs when the model 'calls' the tool. Which description is correct?

  1. A The model connects to the database directly using credentials embedded in the system prompt.
  2. B The model provider's servers run the query and stream the rows back into the response.
  3. C The model emits a structured request; your host code runs the query and returns the result.
  4. D The tool schema compiles into a stored procedure that the model triggers at inference time.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions