Medium · How an agent uses a tool
The model proposes; the system decides
The model proposes a tool call. Code decides whether it is allowed, and code does the work. We call this describe, never act. At Maple Mart, an order over 20 cases also waits for Milo’s yes. Asking Milo can be one more tool, so his answer is kept with the rest.
Video coming
Example
Maple Mart, before a long weekend The model proposes: place_order(item: bread, cases: 30) The rules check it: shape pass, allowed pass, values pass Over 20 cases: ask_milo(order: bread, 30 cases, reason: long weekend) Milo says yes. The code places the order.
Try it Yourself
Finish the sentence: say who places the order once the checks pass.
Exercise
The agent wants 30 cases of bread. What happens first after the checks pass?