As asked
An assistant can search a knowledge base, create support tickets, and refund orders. How do you prompt it to choose tools correctly and avoid harmful actions?
Sample answer outline
Define each tool's purpose, required inputs, and preconditions in compact operational language. Separate read-only tools from state-changing tools and require explicit user confirmation before irreversible actions such as refunds. The prompt should instruct the model to gather missing fields before calling a tool and to explain uncertainty rather than guessing arguments. The application should still enforce permissions and confirmation because prompt instructions are not an authorisation boundary. Weak answers focus on friendly wording and ignore tool contracts, auditability, and recovery from failed calls.
Expect these follow-ups
- What tool call should require confirmation?
- How do you handle a tool returning partial or stale data?
- Where do you enforce refund limits?