InterviewBuddy
All interview questions

What should an AI tool call be allowed to do?

Advanced

Answer

Give the model only the tools and permissions required for the task, validate arguments, and check authorization again when the tool executes.

Explanation

Treat model output as a proposal. Consequential writes need server-side rules and often user review; prompt text alone cannot enforce access control.

Example

Tool request → schema validation → permission check → execute